11

我正在构建一个 Oracle Agile PLM CustomAction Px。

我在 Px 中调用了一个 web 服务来处理一些数据。

在我部署之后,它给出了“类未找到异常”javax.xml.ws.Service

所以我复制jaxws-api-2.1-1.jar\Agile\Agile931\integration\sdk\extensions文件夹中。

在此之后,此错误消失了。

同样,我复制了一些其他 jar 以删除其他类的“类未找到异常”。

但现在我不知道如何消除这个错误:

无法找到请求的工厂 com.ctc.wstx.stax.WstxInputFactory。类加载器 =Agile.root:0.0.0

4

2 回答 2

7

如果您使用的是 Maven,则可以添加依赖项

<dependency>
    <groupId>com.fasterxml.woodstox</groupId>
    <artifactId>woodstox-core</artifactId>
    <version>5.0.2</version>
</dependency>
于 2016-03-28T23:15:41.667 回答
2

com.ctc.wstx.stax refers to the Woodstox StAX parser. You can download that here, and add it to your classpath.

于 2012-03-08T10:34:39.213 回答