Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Jdeveloper JSON Interchange format not working

I am using Jdeveloper version 12.2.1.4.0.
I have a requirement of converting XML to JSON inside SOA BPEL. I am using Translate activity for this. When i try to use Native Format Builder with type "JSON Interchange Format" to create an XSD for native format, i am getting following error:-
Error creating stream factory
java.lang.noClassDefFoundError:com/fasterXML/jackson/core/jsonFactory
Can someone help me on how to get rid of this error?
Answers
-
Are you building the SOA BPEL using maven? If yes, please add the following in your project's POM under dependencies section.
<span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);"><</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">dependency</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">></span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);"><br/> </span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);"><</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">groupId</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">></span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">com</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">.</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">fasterxml</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">.</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">jackson</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">.</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">core</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);"></</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">groupId</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">></span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);"><br/> </span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);"><</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">artifactId</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">></span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">jackson</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">-</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">core</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);"></</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">artifactId</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">></span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);"><br/> </span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);"><</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">version</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">></span><span class="lit" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--red-800);">2.9</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">.</span><span class="lit" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--red-800);">8</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);"></</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">version</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">></span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);"><br/></span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);"></</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">dependency</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: var(--black-750);">></span>
Thanks,
Prasanna
-
Is this issue resolved?
I have a same issue
-
The error it's related to the unrecognized or don't found librarie for 'fasterXML/jackson/core/jsonFactory' >> com.fasterxml.jackson.core lib, Basically this lib isn't found in your working directory or you have a duplicated librerie that it makes hard for the tool you're using to detect wich to use, please check and download the proper librarie and add it the the class path or as Prasana G suggest use maven to automatically get the dependency required i f you have maven setted.
Regards
-
Please apply the patch 30482761 described in the note: "Rest Adapter Jdeveloper java.lanf.NoClasDefFoundError: com/fasterxml/jackson/core/JsonFactory (Doc ID 2628833.1)"
-
I am still facing the issues. I had updated POM & JDeveloper Manage Lib but didn't work. I am using the latest Studio Edition Version 12.2.1.4.0.
Can you please help me where to put the jar lib, such that the error get resolve.
-
Did you apply the patch 30482761 on your Jdev environment?
To solve this issue you should:
1. Download and review the readme and pre-requisites for Patch.30482761
2. Ensure that you have taken a backup of your system before applying the recommended patch.
3. Apply the patch in a test environment.
4. Clear Jdeveloper cache by starting it with option -clean: jdeveloper\jdev\bin>jdev -clean
5. Retest the issue.
6. Migrate the solution as appropriate to other environments.
-
Even after applying the patch still facing same issue, is there any work through other than above solution
-
Have applied the patch and am getting the same error. Found another article that say you also need to apply patch 32363659, but when I try to unzip the downloaded file for it I get an error and am unable to extract the files.
-
Hi. There is a problem opening the patch 32363659 from oracle support. Please use the right click on the link and please use the "save link as" option of your browser. The size of the file p32363659_122140_Generic.zip is :391.179 bytes.
-
"save link as" option of your browser is not working. Oracle uses javascript to prevent that option