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