无法找到请求的工厂 com.ctc.wstx.stax.WstxInputFactory [英] Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located

查看:17
本文介绍了无法找到请求的工厂 com.ctc.wstx.stax.WstxInputFactory的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am build an Oracle Agile PLM CustomAction Px.

我在 Px 内部调用了一个网络服务来处理一些数据.

I called a webservice inside the Px to process some data.

在我部署后,它为 javax.xml.ws.Service

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

so i copied jaxws-api-2.1-1.jar in \Agile\Agile931\integration\sdk\extensions folder.

此后此错误消失了.

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

Similarly i copied some other jars to remove "Class not found exception" for other classes.

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

But now i dont know how to remove this error:

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

Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located. Classloader =Agile.root:0.0.0

推荐答案

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

If you're using Maven you can add the dependency

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

这篇关于无法找到请求的工厂 com.ctc.wstx.stax.WstxInputFactory的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆