Hello -
I'm facing an issue with the json schema library v2.2.6, but only under Weblogic:
java.lang.NoSuchMethodError: org.joda.time.format.DateTimeFormatterBuilder.appendFixedDecimal
at com.github.fge.jsonschema.format.common.DateTimeAttribute.<clinit>(DateTimeAttribute.java:56)
at com.github.fge.jsonschema.library.format.CommonFormatAttributesDictionary.<clinit>(CommonFormatAttributesDictionary.java:52)
at com.github.fge.jsonschema.library.format.DraftV3FormatAttributesDictionary.<clinit>(DraftV3FormatAttributesDictionary.java:47)
...lots more
which ultimately traces back to the JsonSchemaFactory.byDefault method.
Under a standalone test case, this runs fine. However, when deployed to weblogic, this error results. I have verified that joda-time is packaged in my ear.
We had previously used json schema in the 2.0.1 and not seen any such issue.
Any thoughts?
Thanks,
Ken