进入:window -> Preference… -> MyEclipse -> Editors -> XML ->XML Catalog
选择:选中“User Specified Entries”,点击“Add…”按钮
填入:
URI: 请选择本地文件系统上SPRING_HOME/dist/
resources/spring-beans-2.0.xsd 文件 (在Eclipse安装文件里查找此文件)
Key Type: 选择Schema Location
Key: http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
点击确定
myEclipse中spring配置文件自动提示
最新推荐文章于 2019-04-22 16:32:20 发布
本文介绍如何在MyEclipse中配置Spring 2.0的XML Schema Definition (XSD)文件,以便进行XML验证。步骤包括打开偏好设置、添加用户指定的条目以及指定本地XSD文件路径。
8671

被折叠的 条评论
为什么被折叠?



