My Oracle Support Banner

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

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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

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