11.1.1.6
I created a java callout jar running on the OSB for validating a JSON schema. it uses a library from
com.github.fge.jsonschema.main.JsonSchema
When I try to deploy the OSB project, it fails with two library conflicts
- java.lang.IllegalAccessError: org/joda/time/format/DateTimeFormatterBuilder$FixedNumber : org/joda/time/format/DateTimeBuilder$PaddedNumber
- java.lang.IllegalAccessError: org/mozilla/javascript/ScriptableObject$RelinkSlot : org/mozilla/javascript/ScriptableObject$Slot
Weblogic is loading these two classes from these two jars and I think JsonSchema uses a later version of those libraries.
jar:file:/oracle/dev/product/fmwsoa/modules/joda.time_1.2.1.0.jar!/org/joda/time/format/DateTimeFormatterBuilder.class
jar:file:/oracle/dev/product/fmwsoa/wlserver_10.3/server/lib/weblogic.jar!/org/mozilla/javascript/ScriptableObject.class
Somehow I need to resolve the version conflict. How would I do this?