1. 程式人生 > >spring配置文件ApplicationContext.xml裏面class等沒有提示功能

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

myeclipse nbsp 分享 spring editors uri 應該 details views

  • 實現效果:
    技術分享
  • 解決方法:
  • 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

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