jboss - Ant Build Issue: NoClassDefFoundError -


i'm new ant , application. i'm not able decode error message.

c:\eclipse\sources_int\external-sources>ant netstudy-generate-client buildfile: c:\eclipse\sources_int\external-sources\build.xml  netstudy-generate-client:    [delete] deleting directory c:\eclipse\ext_sources_int\external-sources\build\generated_classe s     [mkdir] created dir: c:\eclipse\sources_int\external-sources\build\generated_classes       [java] java.lang.noclassdeffounderror: org/apache/cxf/tools/wsdlto/wsdltojava      [java] caused by: java.lang.classnotfoundexception: org.apache.cxf.tools.wsdlto.wsdltojava      [java]     @ java.net.urlclassloader$1.run(urlclassloader.java:202)      [java]     @ java.security.accesscontroller.doprivileged(native method)      [java]     @ java.net.urlclassloader.findclass(urlclassloader.java:190)      [java]     @ java.lang.classloader.loadclass(classloader.java:306)      [java]     @ sun.misc.launcher$appclassloader.loadclass(launcher.java:301)      [java]     @ java.lang.classloader.loadclass(classloader.java:247)      [java] not find main class: org.apache.cxf.tools.wsdlto.wsdltojava.  program exit.      [java] exception in thread "main"      [java] java result: 1  build failed c:\eclipse\sources_int\external-sources\build.xml:183: srcdir "c:\eclipse\sources_int\ external-sources\build\generated_src" not exist! 

part of ant build trying run java application. main class (the java class contains main method) cannot found. check path , make sure including jar file contains class org.apache.cxf.tools.wsdlto.wsdltojava.

possibly expecting find class in directory cannot find.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -