error occured when i was generating client form wsdl use ant task, codes below
<?xml version="1.0" encoding="UTF-8"?> <project default="asd"> <path id="xfire"> <fileset dir="${user.home}\jars\xfire"> <include name="*.jar"/> </fileset> <fileset dir="${user.home}\jars\apache\commons"> <include name="*.jar"/> </fileset> <fileset dir="${user.home}\jars\sun\jaxb"> <include name="*.jar"/> </fileset> </path> <target name="asd"> <taskdef name="wsgen" classname="org.codehaus.xfire.gen.WsGenTask" classpathref="xfire" /> <wsgen outputDirectory="${basedir}\src" wsdl="http://localhost:8191/TwosomeMode?wsdl" package="sample" overwrite="true"/> </target> </project> errors Buildfile: C:\Documents and Settings\ibm\workspace\dztalk-webflow\build.xml asd: BUILD FAILED C:\Documents and Settings\ibm\workspace\dztalk-webflow\build.xml:20: java.lang.NoClassDefFoundError Total time: 484 milliseconds it throws a "NoClassDefFoundError" but not any detail infomation , i find it's hard to fix it! can any one do me a favor about this topic ! thanks !