The process of upgrading Oracle MAF plugin in Jdeveloper is very simple. In Jdeveloper, go to the Help menu, click on Check for Updates and you should be able to install the latest MAF plugin. If everything goes well, you can start making any changes required for the new MAF version as detailed on the once Jdeveloper restarts.
The new release notes, mentioned here, give a good overview on the changes required to migrate your application correctly to the new release.
Not every upgrade is smooth. One symptom of a failed version upgrade is Jdeveloper showing multiple compile errors in the oracle.adfmf.* package.
Jdeveloper appears to install the plugin upgrade successfully and there are no indications in the log that anything failed.
There are two ways to resolve this:
Delete the current Jdeveloper system directory. Once you restart Jdeveloper, a new directory is created. Opening a MAF application using the previous version of MAF is migrated successfully to the new version.
OPen the project properties for the ApplicationController project. In the Libraries and Classpath section, verify that you are using the “MAF JDK 1.8 Compact 2 Profile” and that it points to a valid java sdk install location.
Ensuring that the “MAF JDK 1.8 Compact 2 Profile” is selected in the libraries pane, check the classpath and sourcepath entries in the right pane.
If it looks anything like the picture above, you know that jdeveloper was not able to update the profile correctly and point to the new MAF version jar files. To fix this, select the “Class Path” section and click the “Add Entries” button at the bottom. Navigate to your Jdeveloper Installation and select the following folder:
Select all the jar files and add them to the classpath.
Similarly, select all the jar files from the location below and add them to the source path:
The Jdeveloper MAF extension can be downloaded from here.
Latest posts by vivek (see all)
- Using RPA vs API based Integration - June 7, 2018
- Chatbots with DialogFlow and AWS Rest Services - May 9, 2018
- Store Serverless Application Secrets in AWS Systems Manager Parameter Store - March 15, 2018