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

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

(附詳細(xì)圖)spring-dao.xml文件中這句會(huì)出錯(cuò):<context:property-placeholder location="classpath:jdbc.properties"/>

詳細(xì)內(nèi)容如下,來這找找解決辦法

http://img1.sycdn.imooc.com//5796bff60001094f09950457.jpg

正在回答

1 回答

ok,解決了。雖然只是細(xì)節(jié)問題,但依舊花費(fèi)我不少時(shí)間。這里,將解決方法放出來。希望能幫到和我遇到同樣問題的新人吧。

1、出現(xiàn)該問題的直接原因:在spring官方文檔中復(fù)制的xml頭部是不完整的。而且因?yàn)槲业拈_發(fā)工具M(jìn)yEclipse沒有給我自動(dòng)增加context解析文件,所以會(huì)報(bào)錯(cuò)。在主講老師的xml文件中,是在輸入context由開發(fā)工具自動(dòng)增加的;

2、解決辦法:在spring-dao.xml文件頭部手動(dòng)增加context解析文件。完整的如下:

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:context="http://www.springframework.org/schema/context"

xsi:schemaLocation="http://www.springframework.org/schema/beans?

http://www.springframework.org/schema/beans/spring-beans.xsd?

http://www.springframework.org/schema/context

http://www.springframework.org/schema/context/spring-context.xsd">

3、ok,解決了。希望能幫到你^^

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

舉報(bào)

0/150
提交
取消

(附詳細(xì)圖)spring-dao.xml文件中這句會(huì)出錯(cuò):<context:property-placeholder location="classpath:jdbc.properties"/>

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

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

幫助反饋 APP下載

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

公眾號(hào)

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