springboot引入其他模块无法扫描到spring bean的问题时间:2025-04-21 07:52:27模块A为启动模块,A引入B,B有@Service注解,但是在启动类的@SpringBootApplication注解上面发现没有将Bean引入,遂查了一下,是为路径问题 解决方法: 将所有的模块统一了一下,比如都以开头就可以了