原文:springboot 启动报错:required a bean of type 'xxxRepository' that could not be found

springboot启动的时候报错,错误如下: 原因分析: 由于搭建的springboot项目是分模块搭建的,使用的是spring data jpa com.ge.dao.DemoRepository是在ge springboot dao模块下。代码如下 但是SpringBootApplication是在ge springboot web这个module下。 com.ge.MainApplicat ...

2018-12-16 19:29 1 18470 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM