How to Setup JDeveloper workspace for ADF Fusion Applications to run Business Component Tester?

Introduction

When creating ADF applications using JDeveloper with the Fusion Applications Extension, the Application Module Tester (Business Component Browser) may fail with 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”.  This is due to some missing libraries. This article will show how to add these.

Details

The following picture shows the default libraries added to a Model project when creating an ADF Business Component from Tables:  pic1

After reviewing the Fusion Applications Developer Guide ( here ), the Applications Core and Applications Core (Attachments Model) libraries must be added to the data model project (default is Model). However, when adding the above libraries into a project, it throws warnings for being unable to resolve dependent libraries (secondary imports) such as Topology Manager, Functional Setup Model. Please see the following screens:

pic2

 

pic3

Solution

The user must select “Topology Manager” and “Functional Setup Module” along with Application Core and Application Core (Attachments Model) libraries. The user must also add “Java EE 1.5” and “Java EE 1.5 API” libraries. The following warning will still appear:

    Business Components: Unable to load Business Components Project.  File not found.
    Object: oracle.apps.fnd.applxdf.dm.model.Model Owner:  oracle.apps.model.Model

This can be ignored for now to run ADF Business Component Browser to test the ADF Model.

Note: This is a bug as we 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:

 

pic4(1)

 

Note: Some of the libraries such as “Commons *” are automatically added with Application Core as secondary imports.

Add Your Comment