Caught exception while loading file struts-default.xml - [unknown ]
来源:互联网 发布:浙江大学 人工智能 编辑:程序博客网 时间:2024/05/08 12:43
Caught exception while loading file struts-default.xml - [unknown ]
严重: 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)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:130)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3086)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)
at org.apache.catalina.core.ContainerBase
at org.apache.catalina.core.ContainerBase
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
at org.apache.xerces.parsers.DOMParser.(Unknown Source)
at org.apache.xerces.parsers.DOMParser.(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.(SAX2DOM.java:69)
at com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(TransletOutputHandlerFactory.java:187)
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 - [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 ]
- 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]
- 异常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]解决办法
- tomcat异常Caught exception while loading file struts-default.xml - [unknown location]
- Caused by: Caught exception while loading file struts-default.xml - [unknown location]
- 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 错误
- mongodb初识
- matlab r2010b netcdf 工具箱 安装方法
- javaweb多工程相互引用
- 搁浅一笺思念,静候几度时光。
- C#中的构造函数
- Caught exception while loading file struts-default.xml - [unknown ]
- hdu 1074 Doing Homework 状态压缩dp
- python数据类型(字符串)
- 输出 函数调用栈
- 5、数组
- Linux系统管理
- java String 类的基本方法
- typedef的用法 单向链表的查找、增加、删除、销毁。
- 【codevs1666】买票