Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located
Asked Answered
S

2

12

I am build an Oracle Agile PLM CustomAction Px.

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

After i deployed, it gave "Class not found exception" for javax.xml.ws.Service

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

After this this error was gone.

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:

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

Skim answered 13/6, 2011 at 6:28 Comment(0)
S
7

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>
Seismology answered 28/3, 2016 at 23:15 Comment(0)
G
2

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

Gideon answered 8/3, 2012 at 10:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.