Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located

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

like image 357
Raj Avatar asked Jun 13 '11 06:06

Raj


2 Answers

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>
like image 139
Reimeus Avatar answered Nov 15 '22 15:11

Reimeus


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

like image 24
skaffman Avatar answered Nov 15 '22 16:11

skaffman