Caught exception while loading file struts-default.xml 错误
来源:互联网 发布:从事大数据需要学什么 编辑:程序博客网 时间:2024/05/16 09:54
严重: Exception starting filter struts2
Caught exception while loading file struts-default.xml - [unknown location]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:839)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:131)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:100)
……………………………………
现象: 第一次能运行, reload就不行.
试了Struts2自带的blank包, 没问题.
那基本可断定是其他jar包有冲突, 应该是XML解析包有冲突.
检查发布后的WEB-INF/lib有两个XML解析包: xml-apis.jar和xerces-2.6.2.jar
这种错误真正原因不是JDK 6和Struts 2冲突, 而是 MyEclipse Hibernate 类库中多了两个包: xml-apis.jar和xerces-2.6.2.jar, 这两个包的功能和JDK的冲突了. 解决办法: 1. 删除发布后目录的 WEB-INF/lib/ 下的这两个文件; 2. 或者使用JDK 1.5来启动Tomcat 6.
- Caught exception while loading file struts-default.xml 错误
- Caught exception while loading file struts-default.xml 错误
- Caught exception while loading file struts-default.xml 错误
- Caught exception while loading file struts-default.xml
- Caught exception while loading file struts-default.xml
- Caught exception while loading file struts-default.xml
- Caught exception while loading file struts-default.xml - [unknown location]
- Caught exception while loading file struts-default.xml - [unknown location
- Caught exception while loading file struts-default.xml - [unknown location]
- Caught exception while loading file struts-default.xml - [unknown location]
- Caught exception while loading file struts-default.xml - [unknown ]
- Caused by: Caught exception while loading file struts-default.xml
- Caught exception while loading file struts-default
- struts2 Caught exception while loading file struts-default.xml 的错误
- Exception starting filter struts2(Caught exception while loading file struts-default.xml )
- Exception starting filter struts2 Caught exception while loading file struts-default.xml - [unknown location]
- 严重: Exception starting filter struts2 Caught exception while loading file struts-default.xml - [unknown location]
- Exception starting filter struts2(Caught exception while loading file struts-default.xml )
- android中跳转系统自带界面 Intent
- JMS介绍:我对JMS的理解和认识
- SQL Server 删除重复记录,适合2005以后版本
- C#获取磁盘总容量和剩余容量
- 深入理解Java内存模型 1
- Caught exception while loading file struts-default.xml 错误
- OJ_1065
- MySql增加字段、删除字段、修改字段名称、修改字段类型
- 文件IO流
- Timer和TimerTask使用完整示例
- form的onsubmit事件--表单提交前的验证最佳实现方式(
- struct和typedef struct彻底明白了
- 浅谈UML中类之间的五种关系及其在代码中的表现形式
- 我跑得快摔的疼 跑得慢 吃不到