原文: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-2026 CODEPRJ.COM