Failed to compile bpel project with embeded java code (Doc ID 375756.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.2.0.2 and later   [Release: AS10gR2 and later ]
Information in this document applies to any platform.
***Checked for relevance on 04-Aug-2011***

Symptoms

You have added Java Embedding Activity to your bpel project.

The actual java code includes a call to your own class, for example:

Hello h1 = new Hello();

However, when trying to compile your bpel project you get the following error:

Error: Java compilation failed.
Failed to compile file(s) "helloJava.bpel".
Exception reported is: helloJava.bpel:49: Class bpel.p0.Hello not found.
Hello h1 = new Hello();
^
helloJava.bpel:49: Class bpel.p0.Hello not found.
Hello h1 = new Hello();
^
2 errors

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