手动下载dtd文件并配置到myeclipse中
2012-03-16 22:34
323 查看
在myEclipse里面配置struts2.xml的是后老是出现<?xml version="1.0" encoding="UTF-8" ?>报错,而且写标签的时候没有提示,后来发现时myeclipse里面没有引入http://struts.apache.org/dtds/struts-2.0.dtd,在网上找了好久终于找到引入dtd的方法:
在eclipse中 struts2配制文件中不支持提示,这时需要手工添加dtd的支持
Preferences -> MyEclipse Blue Edition -> Files and Editors -> XML -> XML Catalog -> Add
1)Location中找到struts2.0.dtd的地址
2)Key Type中选中URI
3)Key : 在struts.xml中找到dtd的地址:http://struts.apache.org/dtds/struts-2.0.dtd
在eclipse中 struts2配制文件中不支持提示,这时需要手工添加dtd的支持
Preferences -> MyEclipse Blue Edition -> Files and Editors -> XML -> XML Catalog -> Add
1)Location中找到struts2.0.dtd的地址
2)Key Type中选中URI
3)Key : 在struts.xml中找到dtd的地址:http://struts.apache.org/dtds/struts-2.0.dtd
相关文章推荐
- MyEclipse 编写xml 配置文件没有提示, 配置 dtd
- 如何在myeclipse中导入能让配置文件有自动补全功能的dtd文件
- myeclipse中配置文件DTD/mapping问题
- Myeclipse中struts2配置文件配置dtd以支持自动补全
- myeclipse如何 关联 dtd的配置文件
- myeclipse 配置dtd文件
- 手动添加schema配置文件到myeclipse
- Myeclipse中struts2配置文件配置DTD以支持自动补全
- MyEclipse中maven下载jar包失败,手动配置jar包到本地仓库
- SCCM 安装配置文件 手动下载
- Nginx配置下载资源文件
- 新服配置 ftp 下载文件
- mybatis 配置文件报错:"Referenced file contains errors(file:/D:/config/ mybatis-3-mapper.dtd).
- Centos yum 配置文件下载以及相关链接
- 配置IIS apache ,支持sis、SISX、3GP、ADP、AMR、JAD、JAR、MMF、MFM、PMD、UMD等文件下载
- MySQL免安装版的下载与文件配置
- 用myeclipse自动生成hibernate配置文件
- 用grunt下载jquery cmd文件,手动构建jquery为cmd模块
- EditPlus的编码自动完成功能及配置文件下载
- 集群环境下的文件上传和下载和文件服务器的配置