Add ADF library to Fusion Applications Workspace

When working in JDeveloper on customizations, you might hit errors in the console for missing an application specific resource or NoClassDefFoundException. This happens because all the required libraries to customize a page may not have been added to the Fusion Customization Application workspace. One such example error could be:

WARNING: Exception in task oracle.adfdtinternal.view.rich.binding.editor.ADFTableCustomizer$1@46220c4d 
on model oracle.jdevimpl.webapp.jsp.JspXmlModel@284a13c7; 
txn name=Rebind Table java.lang.RuntimeException:
Could not find data control PlanOverviewAMDataControl 

The solution is to find and add the library containing PlanOverviewAMDataControl and add it to the customization workspace. Below are the step by step screenshots to do this:

  1. Create a file system connection to the base application libraries

2. Provide any name you like for connection name and browse to the APP-INF\lib location in the base application ear


3.  Right click on the newly added connection and chose Advanced Search

4. Enter missing artifact and search


5. In the Search results right click on the artifact and choose Add to project

6. Confirm Add Library


7.  A new popup will appear. Mark the checkbox to skip check for secondary imports and hit No as we do not need to add all the dependencies to get it working. We only need the library containing the data control PlanOverviewAM.


At this point save all and the error should no longer appear. Please note that there may be additional libraries missing based on the artifacts you are trying to customize. You will need to add those libraries as well to your project by repeating the above steps.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Follow us on twitter Fusion Applications Extensibility, Customizations and Integration forum Fusion Applications Dev Relations YouTube Channel
This blog offers news, tips and information for developers building extensions, customizations and integrations for Oracle Fusion Applications.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
4
5
6
8
11
12
13
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today