asant报错?!!!

悬赏:10 发布时间:2008-07-20 提问人:smartzxy (初级程序员)

最近在看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>

该问题已经关闭: 超过15天由系统自动关闭,悬赏平分给所有参与回答的会员