XIncludeAwareParserConfiguration incompatible with XMLParserConfiguration

前端 未结 1 698
北海茫月
北海茫月 2020-12-19 08:51

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         


        
相关标签:
1条回答
  • 2020-12-19 09:04

    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.

    0 讨论(0)
提交回复
热议问题