My Oracle Support Banner

WebLogic Server 9.2: Getting "java.lang.ClassCastException: weblogic.xml.stax.XMLStreamInputFactory incompatible with javax.xml.stream.XMLInputFactory" exception when deploying application (Doc ID 1165274.1)

Last updated on AUGUST 12, 2021

Applies to:

Oracle WebLogic Server - Version 9.2 to 9.2
Information in this document applies to any platform.

Symptoms

An issue of getting "java.lang.ClassCastException: weblogic.xml.stax.XMLStreamInputFactory incompatible with javax.xml.stream.XMLInputFactory" exception in WebLogic Server 9.2 was reported when deploying an application.

Below is the exception trace in the WLS logs at the time of the issue:

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.