MyEclipse 6开发JDK6和Struts 2冲突的问题真实原因及解决办法 - 编程入门网
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-14at org.apache.catalina.core.StandardContext.filterStart (Sta |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |