You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm working on upgrading our dependencies, and it seems the maven plugin imports jackson 2.14. Unfortunately, that doesn't seem to be compatible with jackson 2.17, which causes this error to trigger for me:
Caused by: org.apache.maven.plugin.PluginContainerException: An API incompatibility was encountered while executing com.github.victools:jsonschema-maven-plugin:4.36.0:generate: java.lang.NoSuchMethodError: 'void com.fasterxml.jackson.core.base.GeneratorBase.<init>(int, com.fasterxml.jackson.core.ObjectCodec, com.fasterxml.jackson.core.io.IOContext)'
Another poster on a different repo faced a similar issue and mentioned it's due to the conflict between jackson 2.14 and 2.17. I saw you merged a PR to update dependencies 4 days ago - is that the only thing we need to release to upgrade the jackson version and fix this issue?
EDIT: As a temporary patch, I force-upgraded the plugin dependency's jackson-core version to 2.17 and it seems to be working:
Hi, I'm working on upgrading our dependencies, and it seems the maven plugin imports jackson 2.14. Unfortunately, that doesn't seem to be compatible with jackson 2.17, which causes this error to trigger for me:
Another poster on a different repo faced a similar issue and mentioned it's due to the conflict between jackson 2.14 and 2.17. I saw you merged a PR to update dependencies 4 days ago - is that the only thing we need to release to upgrade the jackson version and fix this issue?
EDIT: As a temporary patch, I force-upgraded the plugin dependency's jackson-core version to 2.17 and it seems to be working:
The text was updated successfully, but these errors were encountered: