0 0

asant报错?!!!10

最近在看jax-ws,少不了跟着教程调试,可是一模一样的照着教程用asant编译时总是报错
引用
F:\jwstutorial20\examples\jaxws\simpleclient>asant build
Buildfile: build.xml

BUILD FAILED
F:\jwstutorial20\examples\jaxws\simpleclient\build.xml:5: The following error oc
curred while executing this line:
F:\jwstutorial20\examples\jaxws\common\targets.xml:26: taskdef A class needed by
class com.sun.tools.ws.ant.WsImport cannot be found: org/apache/tools/ant/Dynam
icConfigurator

Total time: 1 second

我的环境是:jdk1.6u7,jee5u4
帮帮我吧,谢谢!

<target name="generate-client">
        <wsimport
            fork="true"
            debug="${debug}"
            verbose="${verbose}"
            keep="${keep}"
            destdir="${build}"
            sourcedestdir="${src}"
            package="${endpoint.package}"
            wsdl="${endpoint.address}?wsdl">
        </wsimport>
    </target>
SOA 
2008年7月20日 00:10
目前还没有答案

相关推荐

Global site tag (gtag.js) - Google Analytics