Ant-JMS Exception: taskdef class weblogic.ant.taskdefs.management.WLConfig cannot be found

来源:互联网 发布:java war 打包 编辑:程序博客网 时间:2024/05/28 16:24

Issue:

When you config WLS using Ant, you may got following build failed error message.

 

Exception:

taskdef class weblogic.ant.taskdefs.management.WLConfig cannot be found.

 

Solution:

You need to specify the location of weblogic.jar as below.

 

<taskdef name="wlconfig" classname="weblogic.ant.taskdefs.management.WLConfig">         <classpath>            <pathelement location="X:\wlserver_10.3\server\lib\weblogic.jar"/>        </classpath>    </taskdef>
原创粉丝点击