I get this error when deploying the ear file on to WLS 10.3 on AIX platform. The same ear works fine on Windows/Linux platforms.
Caused by: java.lang.ClassCa
Your classpath is likely cluttered with different versioned JAR files of the Xerces API. Cleanup the classpath. In case of a webapplication, this includes Webapp/WEB-INF/lib
, Appserver/lib
and /JRE/lib
folders.
Most common cause is that you have different versioned Xerces JAR's spreading over the Webapp/WEB-INF/lib
and Appserver/lib
. Assuming that the ones in the appserver's library are the default-supplied and correct versions, get rid of those in the webapp's library. You should not have any appserver-specific JAR's in the webapp's library.