Hi! I am working on several Quarkus + Camel applic...
# help
t
Hi! I am working on several Quarkus + Camel applications that use Wiremock in unittests. Several of them broke this morning after upgrading from Wiremock 3.3.1 to 3.4.0.
Copy code
java.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.
t
Thanks for sharing the solution 👍