課程
/后端開發(fā)
/Java
/Spring入門篇
怎么讓myeclipse編譯xml文件時(shí)有提示?
2014-11-28
源自:Spring入門篇 4-1
正在回答
進(jìn)入:window -> Preference... -> MyEclipse -> Editors -> XML ->XML Catalog選擇:選中“User Specified Entries”,點(diǎn)擊“Add...”按鈕填入:URI: 請(qǐng)選擇本地文件系統(tǒng)上SPRING_HOME/dist/resources/spring-beans-4.0.xsd 文件 (在Eclipse安裝文件里查找此文件)Key Type: 選擇Schema LocationKey: http://www.springframework.org/schema/beans/spring-beans-4.0.xsd點(diǎn)擊確定將spring配置文件關(guān)閉再重新打開即可。可以使用MyEclipse XML Editor打開這些xml文件。如果還不行,重復(fù)如上方式把spring-aop-4.0.xsd也加入。
summerChen 提問者
舉報(bào)
為您帶來(lái)IOC和AOP的基本概念及用法,為后續(xù)高級(jí)課程學(xué)習(xí)打下基礎(chǔ)
2 回答關(guān)于配置文件的問題
1 回答關(guān)于日志信息
3 回答spring bean配置項(xiàng)
8 回答spring aop 配置問題
1 回答spring項(xiàng)目和配置
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)
2014-11-28
進(jìn)入:window -> Preference... -> MyEclipse -> Editors -> XML ->XML Catalog
選擇:選中“User Specified Entries”,點(diǎn)擊“Add...”按鈕
填入:
URI: 請(qǐng)選擇本地文件系統(tǒng)上SPRING_HOME/dist/
resources/spring-beans-4.0.xsd 文件 (在Eclipse安裝文件里查找此文件)
Key Type: 選擇Schema Location
Key: http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
點(diǎn)擊確定
將spring配置文件關(guān)閉再重新打開即可。可以使用MyEclipse XML Editor打開這些xml文件。
如果還不行,重復(fù)如上方式把spring-aop-4.0.xsd也加入。