MyEclipse 6 The real causes and solutions to the problems of developing JDK6 and struts 2 conflicts

Source: Internet
Author: User
Tags config stack trace

A while ago in the development of a STRUTS2 prototype SCM project, with Struts 2+hibernate development. Once again encountered the conflict problem of Struts 2+JDK 6.

Error info: Illegal Access:this Web application instance has been stopped. Could not load org.xml.sax.SAXException. The eventual following stack trace is caused by a error thrown for debugging purposes as "to attempt 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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.