• 解决方法
  1. boot 启动类的 pom 中要配置子 Module 依赖
  2. boot 启动类注解上需要加载子模块包路径
@SpringBootApplication(scanBasePackages = {"com.kele"})

SpringBoot 扫描其他 Module 下的 Controller

相关文章:

  • 2022-12-23
  • 2021-06-05
  • 2022-12-23
  • 2021-06-12
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
猜你喜欢
  • 2021-05-22
  • 2021-08-25
  • 2022-12-23
  • 2021-08-13
  • 2022-12-23
  • 2021-11-14
  • 2021-06-14
相关资源
相似解决方案