課程
/后端開(kāi)發(fā)
/Java
/Spring入門(mén)篇
這種錯(cuò)誤是什么原因??
2016-04-19
源自:Spring入門(mén)篇 2-2
正在回答
你的代碼中嘗試在classpath根路徑下找spring-ioc.xml,但是你的spring-ioc.xml卻放在com.teasan.ioc.resources包下。放到src根目錄下試試看。
YTeasyman 提問(wèn)者
classpath:com.teasan.ioc.resources/spring-ioc.xml
舉報(bào)
為您帶來(lái)IOC和AOP的基本概念及用法,為后續(xù)高級(jí)課程學(xué)習(xí)打下基礎(chǔ)
1 回答報(bào)錯(cuò)no bean named injectionservice is defined
1 回答No bean named 'injectionServiceImpl' is defined
2 回答No bean named 'oneInterface' available
5 回答org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'oneInterface' available
2 回答報(bào)錯(cuò)了? No bean named 'injectionService' is defined
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2016-04-20
你的代碼中嘗試在classpath根路徑下找spring-ioc.xml,但是你的spring-ioc.xml卻放在com.teasan.ioc.resources包下。放到src根目錄下試試看。
2017-08-07
classpath:com.teasan.ioc.resources/spring-ioc.xml