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

原文地址:https://www.cnblogs.com/zuizui1204/p/7651003.html