Weblogic10.3 Deployment Report Com.ctc.wstx.stax.WstxInputFactory cannot is cast to Javax.xml.stream.XMLInputFactory

Source: Internet
Author: User
Tags prepare xml parser truncated


<2017-4-10 10:30 A.M. 04 sec cst> <Error> <Deployer> <BEA-149265> <failure occurred in the Execution of deployment request with ID ' 1491791402694 ' for task ' 0 '. Error is: ' Weblogic.application.ModuleException: '
Weblogic.application.ModuleException:
At Weblogic.servlet.internal.WebAppModule.prepare (webappmodule.java:387)
At Weblogic.application.internal.flow.ScopedModuleDriver.prepare (scopedmoduledriver.java:176)
At Weblogic.application.internal.flow.ModuleListenerInvoker.prepare (modulelistenerinvoker.java:93)
At Weblogic.application.internal.flow.deploymentcallbackflow$1.next (deploymentcallbackflow.java:387)
At Weblogic.application.utils.StateMachineDriver.nextState (statemachinedriver.java:37)
truncated. The log file for complete StackTrace
Java.lang.ClassCastException:com.ctc.wstx.stax.WstxInputFactory cannot be cast to Javax.xml.stream.XMLInputFactory
At Javax.xml.stream.XMLInputFactory.newInstance (xmlinputfactory.java:154)
At Weblogic.servlet.internal.tldcachehelper$tldiohelper.parsexml (tldcachehelper.java:124)
At Weblogic.descriptor.DescriptorCache.parseXML (descriptorcache.java:380)
At Weblogic.servlet.internal.TldCacheHelper.parseTagLibraries (tldcachehelper.java:65)
At Weblogic.servlet.internal.War.getTagInfo (war.java:891)
truncated. The log file for complete StackTrace
>

WebLogic Deployment Web application times Com.ctc.wstx.stax.WstxInputFactory cannot is cast to The Javax.xml.stream.xmlinputfactory,weblogic.xml configuration is:

<container-descriptor>

<servlet-reload-check-secs>-0</servlet-reload-check-secs>

<prefer-web-inf-classes>true</prefer-web-inf-classes>

</container-descriptor> change to: <container-descriptor> <servlet-reload-check-secs>-0</servlet-re Load-check-secs> <prefer-web-inf-classes>false</prefer-web-inf-classes> </container-descriptor   > can be solved. The reason is that Xerces is an open source XML parser and WebLogic incompatible delete xerces *.jar xml-apis*.jar files Try

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.