SpringBoot启动报错:
出现上述问题,需查看三个地方 Controller层,Service层,BootWebApplication
一定要先看Controller或者Service中是否配置了@Controller或者@Service
再看 BootWebApplication 是否配置了 @EnableTransactionManagement @MapperScan("")
这俩个注解 !!!
SpringBoot启动报错:
出现上述问题,需查看三个地方 Controller层,Service层,BootWebApplication
一定要先看Controller或者Service中是否配置了@Controller或者@Service
再看 BootWebApplication 是否配置了 @EnableTransactionManagement @MapperScan("")
这俩个注解 !!!