ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

前端 未结 7 901
我寻月下人不归
我寻月下人不归 2020-12-10 15:02

I am developing a GWT application in Eclipse and use jdom2 to read some custom xml property files.

Following a recent update my application now fails with the above

相关标签:
7条回答
  • 2020-12-10 15:28

    The default JAXB implementation of WebLogic 12c causing the problem and you need to override the jaxb at the weblogic server startup. Add the below classpath to startWebLogic.cmd before echo CLASSPATH=%CLASSPATH%

    SET CLASSPATH=C:\Oracle\Middleware\Oracle_Home\wlserver\modules\databinding.override.jar;%CLASSPATH%

    Tow JARS are added to support weblogic 12c.

    1. jaxb-core.jar
    2. jaxb-impl.jar
    0 讨论(0)
提交回复
热议问题