ant部署 taskdef class weblogic.ant.taskdefs.management.WLDeploy cannot be found
<!-- 部署 -->
<target name="deploy">
<copy todir="${WL_HOME}/user_projects/domains/base_domain/servers/AdminServer/upload" overwrite="true">
<fileset dir="${war.dest}">
<include name="**/*.war"/>
</fileset>
</copy>
<taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy"/>
<wldeploy action="deploy"
source="${WL_HOME}/user_projects/domains/base_domain/servers/AdminServer/upload/${project}.war"
name="${project}"
verbose="true"
adminurl="${adminurl}"
user="${username}"
password="${password}"
targets="${server}"
debug="true"/>
</target>
报错:
--------------------编程问答-------------------- 不懂,帮顶
Buildfile: E:\work\test\Test\build.xml
deploy:
[copy] Copying 1 file to E:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\upload
BUILD FAILED
E:\work\test\Test\build.xml:76: taskdef class weblogic.ant.taskdefs.management.WLDeploy cannot be found
using the classloader AntClassLoader[]
Total time: 190 milliseconds
补充:企业软件 , 中间件