Error(25): "Could not create task or type of type: bpelc" when using ant with JDeveloper (Doc ID 352137.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.2
This problem can occur on any platform.

Symptoms

The following steps can be used to reproduce the problem

Create a new BPEL project (e.g. default Synchronous project), and build (build works fine).
Then right click on the project in the Applications Navigator, select Project
Properties, select ant and choose the auto-generated build.xml. This time,
rebuilding results in: "Error(25): Could not create task or type of type:
bpelc

The following message comes up on the JDeveloper screen

Compiling...
ORACLE_HOME\jdk\bin\javaw.exe -classpath
ORACLE_HOME\jdk\lib\tools.jar;
output;
ORACLE_HOME\integration\bpelpm\designer\jdev\lib\ant.jar;
ORACLE_HOME\integration\bpelpm\designer\jdev\lib\optional.jar;
ORACLE_HOME\integration\bpelpm\designer\lib\xmlparserv2.jar;
ORACLE_HOME\integration\bpelpm\designer\lib\xmlcomp.jar;
ORACLE_HOME\integration\bpelpm\designer\jdev\lib\jdev.jar;
ORACLE_HOME\integration\bpelpm\designer\jdev\lib\ojc.jar
org.apache.tools.ant.Main
-Djdev.home=ORACLE_HOME\integration\bpelpm\designer
-buildfile build.xml main
Buildfile: build.xml

main:

BUILD FAILED
file:build.xml:25: Could not create task or type of type: bpelc.

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