Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to build an OSGI job producing a fairly complex JSON output and need to use tJSONDoc for this. I have downloaded the latest version 16.2 from github and it works perfectly fine when executed in TOS.
However, as soon as I deploy it to Runtime and make a call, I get this:
Hello,
We need more information about your situation. Are your studio and runtime at the same server? JDK 8 or JDK 11?
You need to figure out the violation jar which contains
com/fasterxml/jackson/databind/ObjectMapper
in the output .kar file, then remove the jar file from the bundle's MANIFEST.MF file Bundle-ClassPath.
For more information about the OSGI class loading algorithm, refer to the bundle class loader page.
Best regards
Sabrina
Hello,
We run Java 8.
It's a job, not a route, so not a .kar but .jar
This is what came up in the Package Explorer
This is what was packaged into the .jar
This is what was in the Bundle-classPath