課程
/后端開發
/Java
/Spring Boot 2.0深度實踐-初遇Spring Boot
@Repository 無法自動注入
2018-08-03
源自:Spring Boot 2.0深度實踐-初遇Spring Boot 2-2
正在回答
在repository加一個注解 @Component
你的UserRepository類加注解了嗎? 不加就報錯
舉報
Spring Boot 2.x/Web Flux/多模塊化項目實踐
2 回答idea運行No converter found for return value of type
2 回答運行啟動類時出現'entityManagerFactory' that could not be found.
4 回答postman出現提示Could not get any response
1 回答UserRepository是接口還是類
1 回答運行報錯,提示 failed to configure a DataSource : 'url' arrtibute is not specified and no embedded datasource could be configured
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2019-02-01
在repository加一個注解 @Component
2018-08-24
你的UserRepository類加注解了嗎? 不加就報錯