springboot项目中扫描其他模块的包中类
结构图: 步骤: 1、在需要扫描的类中添加注解@Configuration,例如: 2、在service模块pom.xml中配置service_base依赖,artifactId ...
结构图: 步骤: 1、在需要扫描的类中添加注解@Configuration,例如: 2、在service模块pom.xml中配置service_base依赖,artifactId ...