java.util.ServiceConfigurationError: javax.xml.stream.XMLInputFactory: Provider com.ctc.wstx.stax.WstxInputFactory not a subtype

那年仲夏 提交于 2019-12-03 20:18:12

I add only one dependency in ear pom.xml. It's work for me in WLS 12.2.1.3.

<dependency>
        <groupId>com.fasterxml.woodstox</groupId>
        <artifactId>woodstox-core</artifactId>
        <version>5.0.2</version>
</dependency>

and another libs was exclude, such as org.codehaus.woodstox, stax-api

In WebLogic.xml add:

<container-descriptor>
    <prefer-web-inf-classes>false</prefer-web-inf-classes>
</container-descriptor>
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!