第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

求大佬解答這是什么意思

https://img1.sycdn.imooc.com//5b7022b80001df6c06360207.jpg

不知道問(wèn)題出在哪

正在回答

5 回答

<bean id="injectionDAO"class="com.imooc.ioc.injection.dao.InjectionServiceImpl"></bean>

</beans>你這句包導(dǎo)錯(cuò)了

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

慕沐7199068 提問(wèn)者

非常感謝!
2018-08-12 回復(fù) 有任何疑惑可以回復(fù)我~

如果你按老師的寫的 ? 應(yīng)該改成com.imooc.ioc.injection.dao.InjectionDaoImpl

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

慕沐7199068 提問(wèn)者

還是一樣的報(bào)錯(cuò)。。。
2018-08-12 回復(fù) 有任何疑惑可以回復(fù)我~

額 抱歉看錯(cuò)章節(jié)了

0 回復(fù) 有任何疑惑可以回復(fù)我~

classpath:后面根據(jù)你的.properties文件的位置和名字寫

然后ImportResource("classpath:spring.xml") 就OK了

0 回復(fù) 有任何疑惑可以回復(fù)我~

在你的spring.xml文檔中加入<context:property-placeholder location="classpath:config.properties"/>

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

慕沐7199068 提問(wèn)者

按你說(shuō)的我加了,代碼如下,還是報(bào)錯(cuò): <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans"
2018-08-12 回復(fù) 有任何疑惑可以回復(fù)我~
#2

慕沐7199068 提問(wèn)者

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
2018-08-12 回復(fù) 有任何疑惑可以回復(fù)我~
#3

慕沐7199068 提問(wèn)者

<bean id="injectionService" class="com.imooc.ioc.injection.service.InjectionServiceImpl"> <property name="injectionDAO"ref="injectionDAO"></property> </bean> <context:property-placeholder location="classpath:config.properties"/>
2018-08-12 回復(fù) 有任何疑惑可以回復(fù)我~
#4

慕沐7199068 提問(wèn)者

<bean id="injectionDAO"class="com.imooc.ioc.injection.dao.InjectionServiceImpl"></bean> </beans>
2018-08-12 回復(fù) 有任何疑惑可以回復(fù)我~
查看1條回復(fù)

舉報(bào)

0/150
提交
取消
Spring入門篇
  • 參與學(xué)習(xí)       268802    人
  • 解答問(wèn)題       1017    個(gè)

為您帶來(lái)IOC和AOP的基本概念及用法,為后續(xù)高級(jí)課程學(xué)習(xí)打下基礎(chǔ)

進(jìn)入課程

求大佬解答這是什么意思

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)