applicationContext.xml文件中class中的内容不能提示

eclipse 使用spring,applicationContext.xml文件中class中的内容不能提示



可以在help->Eclipse Marketplace安装插件

1,Spring Tool Suit(STS)


2,Hibernate Tools 将这两个插件安装好,再输入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


其中一个应该可以,

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念