Forum Stats

  • 3,827,872 Users
  • 2,260,836 Discussions


fmw 12c wsa is throwing java.lang.ClassNotFoundException:

I am using wsa (Web Service Assembler) to generated web services but below ant task in FMW 11g PS5 ( and working fine,

<java jar="${jdev.home}/../oracle_common/modules/oracle.webservices_11.1.1/wsa.jar" failonerror="true" fork="true">

      <arg line="genInterface"/>

      <arg line="-dataBinding jaxb20"/>

      <arg line="-debug true"/>

      <arg line="-searchSchema true"/>

      <arg line="-wsdl ${schema.dir}/wsdl/ProductControlService.wsdl"/>

      <arg line="-bindingInfo ${schema.dir}/schema/types/jaxb-bindings.xml"/>

      <arg line="-output ${build.src}/"/>

      <arg line="-packageName org.comms.inv.webservice.types"/>

      <arg line="-valueTypePackagePrefix org.comms.inv.webservice.types"/>


I have modified to "oracle_common/modules/" from wsa.jar as "wsa.jar" file is renamed. but above ant script is throwing exception and stack trace details given below

exception is not resolved even after adding "${jdev.home}/oracle_common/modules/" as SeiValidationException , is there any direct documentation link for FMW 12c WSA help

[java] '/tools/CGBU/supplychain/software/linux/JDeveloper12.1.2/oracle_common/modules/'

     [java] 'genInterface'

     [java] '-dataBinding'

     [java] 'jaxb20'

     [java] '-debug'

     [java] 'true'

     [java] '-searchSchema'

     [java] 'true'

     [java] '-wsdl'

[java] The ' characters around the executable and arguments are

     [java] not part of the command.

     [java] Exception in thread "main" java.lang.NoClassDefFoundError: oracle/j2ee/ws/common/tools/api/SeiValidationException

     [java] at

     [java] at

     [java] at

     [java] Caused by: java.lang.ClassNotFoundException:

     [java] at$

     [java] at$

     [java] at Method)

     [java] at

     [java] at java.lang.ClassLoader.loadClass(

     [java] at sun.misc.Launcher$AppClassLoader.loadClass(

     [java] at java.lang.ClassLoader.loadClass(

     [java] ... 3 more

This discussion has been closed.