My Oracle Support Banner

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

Last updated on NOVEMBER 16, 2023

Applies to:

Oracle(R) BPEL Process Manager 10g - Version 10.1.2.0.2 and later
Information in this document applies to any platform.


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

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.