手动添加 schema文件,方法如下: windwos->preferences->myeclipse->files and editors->xml->xmlcatalog 点击“add”,在出的窗口中的keyTType中选择URL,在locationspring-beans-2.5.xsd中选择"File system",然后spring解压目录的dist/resources目录中选择Spring-beans-2.5.xsd,回到设置窗口的时候不要急着关闭窗口,应把窗口中的Key Type改为SchemaLocation,key改为http://www.springframework.org/schema/beans/spring-beans-2.5.xsd |
**************************************************************
手工添加spring配置文件的DTD描述
使用myeclipse开发spring,在编写配置文件的时候可能遇到无法使用帮助,来自动添加xml元素的问题,是因为无法查找spring的DTD描述。这里做个记录手工添加DTD的方法
window--》preferences--》MyEclipse--》Files and Editors--》XML--》XML Catalog
1)点击ADD
2)Key Type:选择URL
window--》preferences--》MyEclipse--》Files and Editors--》XML--》XML Catalog
1)点击ADD
2)Key Type:选择URL
在location中选择FileSystem然后在spring的解压目录的dist/resources目录中选择spring-bean-2.5.xsd
Location:点击浏览--》找到spring源码包--》dist --》resources --》
spring-beans-2.X.xsd(根据你使用的spring版本决定)
将 它的完整路径\spring-beans-2.X.xsd 填写到location一栏中
3)此时修改Key Type 为Schema Lcation
4)Key :在给出的字符串后添加 --> /spring-beans-2.X.xsd
5)重新打开配置文件测试一下
Location:点击浏览--》找到spring源码包--》dist --》resources --》
spring-beans-2.X.xsd(根据你使用的spring版本决定)
将 它的完整路径\spring-beans-2.X.xsd 填写到location一栏中
3)此时修改Key Type 为Schema Lcation
4)Key :在给出的字符串后添加 --> /spring-beans-2.X.xsd
5)重新打开配置文件测试一下
其中key值应该和applicationContext.xml中的
xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans-2.0.xsd">对应上。
相关推荐
Myeclipse-2014-GA-破解文件.rar使用了几个还是这个有用,并且修复了用其他破解软件破解导致的打不来的问题。
myeclipse-ci-2018.12.0-online-installer-windows 下载 myeclipse-ci-2018.12.0-online-installer-windows 下载 myeclipse-ci-2018.12.0-online-installer-windows 下载 myeclipse-ci-2018.12.0-online-installer-...
更新发布].myeclipse-10.0-offline-installer-windows.part03 myeclipse.10.0.更新发布].myeclipse-10.0-offline-installer-windows.part03 myeclipse.10.0.更新发布].myeclipse-10.0-offline-installer-windows....
( myeclipse-10.0-offline-installer-windows.part04.rar )
MyEclipse的在线安装包,下载后直接联网运行即可!
仅供学习,侵权删除,Myeclipse-2014-GA-破解文件.zipMyeclipse-2014-GA-破解文件.zip
myeclipse-8.5.0-win32.zip,安装包
spring xsd 文件 是myeclipse的3.2版本的xsd文件,有些人会在项目中提示这个文件版本不对
更新发布].myeclipse-10.0-offline-installer-windows.part02 [myeclipse.10.0.更新发布].myeclipse-10.0-offline-installer-windows.part02 [myeclipse.10.0.更新发布].myeclipse-10.0-offline-installer-windows...
struts-junit spring-mock spring-test junit等的javadoc.jar格式的API文档,直接导入Eclipse/MyEclipse/Netbeans等IDE即可实现快速API查询。 包含以下文件: File name -------------------------------------- ...
myeclipse -8.5.0-win32注册码.txt 经本人测试可以用的
myeclipse-10.0-offline-installer-windows.part08.rar
myeclipse\myeclipse-8.6.1-win32.part14 最新的myeclipse8.6.1,从官方直接下载的,最近myclipse官方网站屏蔽了中国ip,所以官网不能直接上了,很多地方都找不到下载源,特别是对于那些在公司屏蔽了迅雷和电驴的群体...
最新的myeclipse8.6.1,从官方直接下载的,最近myclipse官方网站屏蔽了中国ip,所以官网不能直接上了,很多地方都找不到下载源,特别是对于那些在公司屏蔽了迅雷和电驴的群体来说,是一个很好的帮助。希望对大家有用...
Myeclipse-2014-GA-破解文件.rar 很好用的中文版
欢迎下载欢迎下载欢迎下载欢迎下载欢迎下载欢迎下载欢迎下载欢迎下载欢迎下载欢迎下载
MyEclipse的fat_jar工具---...---------------------------------------------------------- 放到 ..\myeclipse-8.5.0-win32\MyEclipse 8.5\dropins目录下面 重启程序,重启后显示 Build Fat Jar 即为成功
Myeclipse2019安装文件.txt 官网下载慢,放网盘了
myeclipse-10.0-offline-installer-windows.part16.rar