課程
/后端開發(fā)
/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 回答運行啟動類時出現(xiàn)'entityManagerFactory' that could not be found.
4 回答postman出現(xiàn)提示Could not get any response
1 回答運行報錯,提示 failed to configure a DataSource : 'url' arrtibute is not specified and no embedded datasource could be configured
1 回答UserRepository是接口還是類
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2019-02-01
在repository加一個注解 @Component
2018-08-24
你的UserRepository類加注解了嗎? 不加就報錯