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

前端 未结 7 916
我寻月下人不归
我寻月下人不归 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

提交回复
热议问题