SpringBoot+Maven 子模块导入其他子模块的Bean
在启动类中导入@ComponentScan(basePackages = {“cn.upzy.server”})
@SpringBootApplication
@EnableEurekaClient
@ComponentScan(basePackages
= {"cn.upzy.server"})
@MapperScan("cn.upzy.server.mapper")
public class SystemApplication {
转载请注明原文地址:https://ipadbbs.8miu.com/read-24099.html