Forums

angle-left Back

ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to ja

JC
Jean-Philippe Cattoor, modified 8 Years ago.

ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to ja

New Member Posts: 3 Join Date: 4/23/10 Recent Posts
Deploying a web application (using Spring 3.0) on Liferay running in WebLogic 10.3.2.0, we get following exception:

<Apr 26, 2010 10:27:44 AM CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1272270460194' for task '1'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'esco.war''
weblogic.application.ModuleException: Failed to load webapp: 'esco.war'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:378)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
Truncated. see log file for complete stacktrace

Caused By: java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:137)
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:889)
Truncated. see log file for complete stacktrace
>


Can someone help?