Thom Castermans
02/19/2024, 7:28 AMjava.lang.NoSuchMethodError: 'com.networknt.schema.JsonSchema com.networknt.schema.JsonSchemaFactory.getSchema(java.net.URI, com.networknt.schema.SchemaValidatorsConfig)'
This seems to be coming from Camel, but since the error goes away when not upgrading Wiremock, I just want to double check: is anyone else experiencing this?
My suspicion is that the com.networkntjson schema validator1.3.2 dependency somehow clashes with something in Camel, but I'm not sure yet
✅ Resolved: there was a conflict with the org.apache.camel:camel-json-validator:4.3.0
dependency, which depends on an older version of the com.networknt:json-schema-validator
. We use the org.apache.camel.quarkus:camel-quarkus-json-validator
dependency, which does not point to the latest camel-json-validator:4.4.0
yet. With that version, everything works as expected. Sorry for the noise.Tom
02/20/2024, 12:12 PM