启动报错 XXXcontroller required a bean of type ‘XXXX.interface’ that could not be found.

  • 解决办法,在启动类上扫描包。
  • @SpringBootApplication(exclude = { HibernateJpaAutoConfiguration.class }, scanBasePackages = “com.wufj”)

idea springboot项目启动要求加bean

相关文章:

  • 2021-09-27
  • 2021-04-10
  • 2021-04-04
  • 2021-06-13
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
猜你喜欢
  • 2021-10-28
  • 2021-11-17
  • 2022-12-23
  • 2021-08-06
  • 2021-05-08
  • 2021-10-24
  • 2022-12-23
相关资源
相似解决方案