欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

Ant-JMS Exception: taskdef class weblogic.ant.taskdefs.management.WLConfig canno

程序员文章站 2022-10-18 18:12:27
Issue: When you config WLS using Ant, you may got following build failed error message....

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.

 

[html] 
<taskdef name="wlconfig" classname="weblogic.ant.taskdefs.management.WLConfig"> 
         <classpath> 
            <pathelement location="X:\wlserver_10.3\server\lib\weblogic.jar"/> 
        </classpath> 
    </taskdef>