struts 配置文件dtd问题
来源:互联网 发布:人工智能发展简史 编辑:程序博客网 时间:2024/06/06 07:47
在Eclipse中因配置文件出现问题文本项目不能正常运行:
配置文件错误信息:The errors below were detected when validating the file "struts-2.3.dtd" via the file "struts.xml". In most cases these errors can be detected by validating "struts-2.3.dtd" directly. However it is possible that errors will only occur when struts-2.3.dtd is validated in the context of struts.xml.
谷歌翻译:在通过文件“struts.xml”验证文件“struts-2.3.dtd”时检测到以下错误。 在大多数情况下,可以通过直接验证“struts-2.3.dtd”来检测这些错误。 但是,可能只有在struts.xml的上下文中验证struts-2.3.dtd时才会发生错误。
解决方法:
第一步:在Eclipse中window->preference->xml->xmlcatalog->add;
第二步:location:此处添加的文件应是struts-core解压后的struts-2.3.dtd。
第三步:key:此处添加url:http://struts.apache.org/dtds/struts-2.3.dtd。
点击确定就OK啦
0 0
- struts 配置文件dtd问题
- struts.xml元素顺序问题DTD
- myeclipse中配置文件DTD/mapping问题
- Struts DTD
- java-struts-dtd
- Struts-2.3.dtd源码
- struts2 的配置文件DTD
- struts2 的配置文件DTD
- 配置文件中的DTD理解
- 用配置文件解决struts乱码问题!
- struts配置文件重定向的问题
- struts2配置文件struts.xml的目录问题
- struts-config-1.1.DTD祥解
- Struts2 Struts.xml DTD 说明
- 导入struts文件的.dtd
- Spring,Struts的DTD验证
- Struts2 Struts.xml DTD 说明
- struts/spring添加dtd约束
- 用户界面设计要素
- 【华为机试】质数因子
- Spring中Bean的配置
- js之arguments详解
- 重温Spring之旅3——装配Bean(手工装配:使用xml的方式)
- struts 配置文件dtd问题
- 。kln.hjkl
- Git使用Socket代理出现的权限不够问题解决
- 数据类型转换与java中的流程控制语句
- Typescript(2) 函数新特性
- ubuntu上不了网的解决方法
- 斐波那契数列
- POJ 3250 Bad Hair Day 已翻译
- MVC框架运行流程和目录结构