Spring配置文件applicationContext.xml在myEclipse工具中编写时如何显示标签提示

来源:互联网 发布:ubuntu麒麟安装教程 编辑:程序博客网 时间:2024/06/05 09:02

如何在MyEclipse中进行导入呢:

首先选择:【Window】-->【Preferences】-->【MyEclipse】-->【Files and Editors】-->【XML】-->【XML Catalog】选择添加:

点击 Add,弹出Add XML Catalog Entry,选择File System... 版本schema xsd文件,例如:spring-beans-4.1.xsd


Key Type 选择Schema Location;

Key: 需要加上/spring-beans-4.1.xsd 

注意:对应Location 名称一致。


 这样以后在myEclipse编辑xml文件时就能够出现提示。

0 0
原创粉丝点击