Thursday, April 24, 2014

Caused by: java.lang.ClassNotFoundException: oracle.j2ee.ws.saaj.soap.MessageFactoryImpl

Exception Caused by: java.lang.ClassNotFoundException: oracle.j2ee.ws.saaj.soap.MessageFactoryImpl

Reason : This exception occur while accessing  SOAP client in java application from jdeveloper, and it is due to the missing orasaaj.jar.

Workaround :  Add the jar file to the project classpath. you can find this jar file at

%JDEV_HOME%\oracle_common\modules\oracle.webservices_11.1.1\orasaaj.jar

Also add this jar in the deployment profile.

No comments:

Post a Comment