快速业务通道

MyEclipse 6开发JDK6和Struts 2冲突的问题真实原因及解决办法 - 编程入门网

作者 佚名技术 来源 NET编程 浏览 发布时间 2012-06-15

MyEclipse 6开发JDK6和Struts 2冲突的问题真实原因及解决办法

时间:2011-09-14

前一阵子在开发一个Struts2的原型SCM项目, 用Struts 2+Hibernate开发. 再次遇到了 Struts 2+JDK 6的冲突问题.

出错信息: Illegal access: this web application instance has been stopped already. Could not load org.xml.sax.SAXException. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.

java.lang.IllegalStateException

at org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java:1244)

at org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java:1204)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder (Unknown Source)

at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.<init> (SAX2DOM.java:69)

at com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputH andlerFactory.getSerializationHandler (TransletOutputHandlerFactory.java:187)

at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutput Handler(TransformerImpl.java:392)

at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerHandlerImpl.se tResult(TransformerHandlerImpl.java:137)

at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.setup (DomHelper.java:213)

at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init> (DomHelper.java:198)

at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init> (DomHelper.java:189)

at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init> (DomHelper.java:175)

at com.opensymphony.xwork2.util.DomHelper.parse (DomHelper.java:115)

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.load ConfigurationFiles(XmlConfigurationProvider.java:830)

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.load Documents(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.<init> (ApplicationFilterConfig.java:108)

MyEclipse 6开发JDK6和Struts 2冲突的问题真实原因及解决办法(2)

时间:2011-09-14

at org.apache.catalina.core.StandardContext.filterStart (Sta

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号