Resolving 'fasterXML/jackson/core/jsonFactory' >> com.fasterxml.jackson.core NoClassDefFoundError com/fasterxml/jackson/core/JsonFactory in JDeveloper

 

This blog explains the procedure to manually applying the Oracle patch 304827610 in your JDeveloper environment to resolve the "NoClassDefFoundError com/fasterxml/jackson/core/JsonFactory" issue.


This blog is to help the audience who face corporate secure/restricted Windows user environments for development where they usually cannot install the patch using standard command line based OPatch utility due to restricted permissions such as described in Oracle doc below:

https://support.oracle.com/epmos/faces/PatchDetail?requestId=23227780&_afrLoop=18882303082705&patchId=30482761.

Steps to Manually apply the patch and user JDeveloper with portable ORACLE_HOME of your soa/bpm or osb.

1. Copy the ORACLE_HOME folder from the administrator user installed location e.g. "C:\Oracle\Middleware\Oracle_Home\jdeveloper" to your preferred folder where your windows user account has full permission of creating and editing files/dirs

(you might need help of your IT user support admin engineers to copy the Oracle_Home using your windows account only in case JDeveloper is intalled under and an admin account) 


2. Extract the Patch 30482761_122140_Generic.zip using 7Zip.

3. You will find "etc" and "files" folders inside the extracted zip

under "etc/config" has three xml files and among which actions.xml file talks about the patch fixed jars and the location of the jar files on destination to be patched.

4. Get the locations from above actions.xml file such as:

30482761\files\oracle.soacommon.plugins\12.2.1.4.0\oracle.soacommon.plugins.symbol\plugins\jdeveloper\extensions\oracle.external.soa.wls.jar
     30482761\files\oracle.soacommon.plugins\12.2.1.4.0\oracle.soacommon.plugins.symbol\plugins\jdeveloper\external\oracle.external.soa.runtime.jar


5. Go to the copied Oracle_Home location respectively as in actions.xml:

    Oracle_Home\soa\plugins\jdeveloper\extensions\oracle.external.soa.wls.jar
    Oracle_Home\soa\plugins\jdeveloper\external\oracle.external.soa.runtime.jar

open the above jar files in 7zip and copy or drag the "META-INF" folder (in step 4) to the opened 7zip respective archives.

6. Go to %APPDATA%\JDeveloper -> clean/delete any existing folder named as system12.2.1.4.42.190911.2248 

7. Launch the jdeveloper from the Oracle_Home location (copied under your restricted user) in step5 "Oracle_Home\jdeveloper" it will creat system folder in %APPDATA%\JDeveloper. (make sure step 6 is done).

8. Create an OSB project app and try "nxsd schema" wizard now to convert your native json to xml formats. If you still experience a null dialogue box with red error icon, close the JDeveloper and repeat step 6 and 7 once more. Enjoy! 
 

Comments