我是 Ant 和这个应用程序的新手。我无法解码此错误消息。
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] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[java] Could not find the main class: org.apache.cxf.tools.wsdlto.WSDLToJava. Program will 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" does not exist!