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

**解决办法:**windows–>perference–>myeclipse–>files and editors–>xml–>xml files–>xml catalog,然后点击add,如下图:
spring配置文件ApplicationContext.xml里面class等没有提示功能
进入spring的解压路径,找到spring-framework-4.2.0.RELEASE/schema/beans路径,选择spring-beans-2.5.xsd,
先不要关闭窗口,key type和key按照下图所示设置:
spring配置文件ApplicationContext.xml里面class等没有提示功能
到这里就完成了,然后重启myeclipse,就会发现xml文件中bean的class有提示了。