Sunday, 2 October 2016

Solved: oracle.adfmf.application does not exist

Post installation of JDeveloper (12.1.3) and after adding the MAF Extension, I created a sample MAF Application by following this tutorial (Oracle JDeveloper 12c (12.1.3) Tutorials - Setting Up Mobile Application Framework ).

I received an error in the console stating that "oracle.adfmf.application does not exist" in "LifeCycleListenerImpl.java" (This is created automatically when you select an MAF Application).

I did some research and stumbled upon the fact that adf-mobile-javadoc.jar contains what I need. Hence the jar was added and the issue disappeared.

Steps to follow:
1. Right-Clicking the ApplicationController project
2. Select "Project Properties..."
3. Select "Libraries and Classpath"
4. Add "JAR/Directory..."
5. Browse to the installation directory of JDeveloper (<InstallatonDirectiry>\jdeveloper\jdev\doc\studio_doc\ohj)
6. Select "adf-mobile-javadoc.jar"
7. Click "Open"
8. Click "OK"
9. Select "Save All"

The error should disappear.

Regards,
Brendon

No comments:

Post a Comment