spring配置文件ApplicationContext.xml里面class等沒有提示功能


  • 實現效果:
    這里寫圖片描述
  • 解決方法:
  • windows–>preference—>myeclipse—>files and editors–>xml—>xmlcatalog

點擊add ,在出現的窗口中的 Key Type 中選擇URI,在location中選擇File system,然后再spring解壓目錄中的

dist/resources 目錄中選擇spring-beans-2.5.xsd,回到設置窗口的時候,不要着急關閉窗口,

應該把窗口中的

Key Type改為Schema location ,

Key 改為http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

這里寫圖片描述

 

原文路徑為:http://blog.csdn.net/fatehj/article/details/54912371


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM