My Oracle Support Banner

WsdlcTask cannot be found When Compiling Web Service In WebLogic Environment (Doc ID 2007520.1)

Last updated on AUGUST 29, 2019

Applies to:

Oracle WebLogic Server - Version 12.1.1.0 to 12.1.3.0.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

On:
Weblogic 12.1.3, JDK 1.7.0_60
Red Hat Enterprise 6
WsdlcTask, JAXWS Webservices

 

When trying to compile a web service with Weblogic 12.1.3 using the WsdlcTask, the following error is generated:

class weblogic.wsee.tools.anttasks.WsdlcTask cannot be found
using the classloader AntClassLoader[E:<WLS_HOME>\wlserver\server\lib\weblogic.jar;<WLS_HOME>\wlserver\server\lib\wls-api.jar]


ERROR
------------
CLASSPATH=.;<ANT_HOME>\bin;<ANT_HOME>\lib;<WLS_HOME>\wlserver\server\lib\weblogic.jar;
Buildfile: <PATH>\wsdlc_build.xml

fork_build:
  [java] Buildfile: <PATH>\wsdlc_build.xml
  [java]
  [java] build:
  [java]
  [java] BUILD FAILED
  [java] <PATH>\wsdlc_build.xml:34: taskdef class weblogic.wsee.tools.anttasks.WsdlcTask cannot be found
  [java] using the classloader AntClassLoader[<WLS_HOME>\wlserver\server\lib\weblogic.jar]
  [java]
  [java] Total time: 0 seconds
Press any key to continue . . .



Steps to reproduce the issue:

1. Create a wsdl file.
2. Create Ant build.xml that uses wsdlc:
  classname="weblogic.wsee.tools.anttasks.WsdlcTask"/>
3. Execute the Ant task
4. The error will be generated.



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.