idea springboot項目啓動要求加bean

啓動報錯 XXXcontroller required a bean of type ‘XXXX.interface’ that could not be found. 解決辦法,在啓動類上掃描包。 @SpringBootApplication(exclude = { HibernateJpaAutoConfiguration.class }, scanBasePackages = 「com.wu
相關文章
相關標籤/搜索