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

posted @ 2017-10-11 15:52  最最么么哒  阅读(4789)  评论(0编辑  收藏  举报