WebLogic 10.3 - The Ant Task wlcompile Throws Error "Could not create task or type of type: wlcompile" (Doc ID 1080615.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

When trying to build applications using wlcompile ant task in Weblogic 10.3 (WLS), ant throws the following error: 

... ... ...
BUILD FAILED
C:\wlserver10.3\wlserver_10.3\samples\server\examples\src\examples\ejb\ejb20\basic\statelessSession\build.xml:62: Could not create task or type of type: wlcompile.

Ant could not find the task or a class this task relies upon.
... ... ...

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms