I came across the following error while testing my AM from Jdeveloper. From the error message it is clear that required class is missing in the classpath. You will come across this error, if you are creating a new project from scratch. Obviously you might have missed to attach some libraries .
Following is the scenario where I faced the error.
1. Created a new workspace(Applications) using "Fusion Web Applications " template.
2. Created a Model project.
3. Created Entity Objects. View Objects and added the ViewObjects to AM
4. Tried to run the AM to test my ViewObjects using business components browser. ( Right click the AM and choose the run option)
The error I got is as follows.
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.lang.NoClassDefFoundError, msg=Could not initialize class oracle.apps.fnd.applcore.oaext.model.OAApplicationModuleImpl
Solution:-
Make sure that all the required libraries are added to the Model Project. The list of all required libraries as listed in -"Oracle® Fusion Application Developer's Guide".
After adding the required libraries the Libraries and Classpath properties window for the model project will look like as follows.
This post helps a lot
ReplyDelete