Hi,

I am new to JibX and Axis2, trying out some exampls of my project and
getting the following error

    [echo] Running Jibx2Wsdl tool
    [java] Exception in thread "main" java.lang.NoSuchMethodError:
org.jibx.runtime.Utility.deserializeTokenList(Ljava/lang/Str
g;
    [java]     at
org.jibx.binding.generator.CustomizationCommandLineBase.applyKeyValueMap(
CustomizationCommandLineBase.java:30
    [java]     at org.jibx.ws.wsdl.WsdlGeneratorCommandLine.applyOverrides(
WsdlGeneratorCommandLine.java:198)
    [java]     at
org.jibx.binding.generator.CustomizationCommandLineBase.processArgs(
CustomizationCommandLineBase.java:186)
    [java]     at org.jibx.ws.wsdl.Jibx2Wsdl.main(Jibx2Wsdl.java:619)

BUILD FAILED
C:\build.xml:253: Java returned: 1

Below is my Ant script

 <target name="generate-wsdl" depends="compile">
   <delete quiet="true" dir="gen"/>
   <mkdir dir="gen"/>
   <echo message="Running Jibx2Wsdl tool"/>
   <java classname="org.jibx.ws.wsdl.Jibx2Wsdl" fork="true"
failonerror="true">
     <classpath>
       <path refid="lib.classpath"/>
       <path path="${build.classes.dir}"/>
     </classpath>
     <arg value="-p"/>
     <arg value="${build.classes.dir}"/>
     <arg value="-s"/>
     <arg value="${src.dir}"/>
     <arg value="-t"/>
     <arg value="gen"/>
     <arg value="--strip-prefixes=m_"/>
     <arg value="com.my.sample.Service"/>
   </java>
 </target>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to