Issue
When creating ADF applications using JDeveloper with Fusion
Applications Extension, the Application Module Tester (Business Component
Browser) will fail the following exception:
“(oracle.jbo.JboException) JBO-29000: Unexpected exception
caught: java.lang.NoClassDefFoundError, msg=Could not initialize class
oracle.apps.fnd.applcore.oaext.model.OAApplicationModuleImpl”
Description:
The following picture shows the default libraries added to
your Model project when creating an ADF Business Component from Tables:
After reviewing the Fusion Applications Developer Guide (here),
you must add Applications Core
and Applications Core (Attachments Model) libraries
to the data model project (default is Model). However, when adding the above
libraries into your project, it throws warnings for unable to resolve dependent
libraries (secondary imports) such as Topology Manager, Functional Setup Model.
Please see the following screens:
Solution:
You must select “Topology Manager” and “Functional Setup Module”
along with Application Core and Application Core (Attachments Model) libraries.
You must also add “Java EE 1.5” and “Java EE 1.5 API” libraries.
You will still get the following warning:
Business Components: Unable to load Business Components
Project. File not found.
Object:
oracle.apps.fnd.applxdf.dm.model.Model
Owner: oracle.apps.model.Model
You can ignore it for now to run ADF Business Component
Browser to test your ADF Model.
Note: This is a bug as I do not see this class in <Jdev
location>/jdeveloper/atgpf/lib/oracle.apps.fnd.applxdf.jar file.
The following screen shows the libraries in your Model
Project:
Note: Some of the libraries such as “Commons *” are
automatically added with Application Core as secondary imports.




No comments:
Post a Comment