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
There are multiple versions of com.fasterxml.jackson.core:jackson-core in java-gitlab-api. As shown in the following dependency tree, according to Maven's "nearest wins" strategy, only com.fasterxml.jackson.core:jackson-core:2.5.3 can be loaded, com.fasterxml.jackson.core:jackson-core:2.5.1_ and com.fasterxml.jackson.core:jackson-core:2.9.10 will be shadowed.
However, several methods defined in shadowed version com.fasterxml.jackson.core:jackson-core:2.9.10 are referenced by client project via com.fasterxml.jackson.core:jackson-databind:2.9.10.5 but missing in the actually loaded version com.fasterxml.jackson.core:jackson-core:2.5.3.
For instance, the following missing method(defined in com.fasterxml.jackson.core:jackson-core:2.9.10) are actually referenced by java-gitlab-api, which will introduce a runtime error(i.e., "NoSuchMethodError") into java-gitlab-api.
com.fasterxml.jackson.core.JsonParser: com.fasterxml.jackson.core.JsonParser overrideStdFeatures(int,int) is invoked by java-gitlab-api via the following path:
com.fasterxml.jackson.core.JsonGenerator: com.fasterxml.jackson.core.JsonGenerator overrideFormatFeatures(int,int) is invoked by java-gitlab-api via the following path:
com.fasterxml.jackson.core.JsonParser: com.fasterxml.jackson.core.JsonParser overrideFormatFeatures(int,int) is invoked by java-gitlab-api via the following path:
<com.fasterxml.jackson.core.JsonGenerator: com.fasterxml.jackson.core.JsonGenerator overrideStdFeatures(int,int)> is invoked by java-gitlab-api via the following path:
Upgrade direct dependency com.fasterxml.jackson.core:jackson-core from 2.5.3 to 2.9.10. Because version 2.9.10 includes the above missing methods and is compatible with other versions of com.fasterxml.jackson.core:jackson-core in the project.
Thank you very much for your attention.
Best regards,
Issue description:
There are multiple versions of com.fasterxml.jackson.core:jackson-core in java-gitlab-api. As shown in the following dependency tree, according to Maven's "nearest wins" strategy, only com.fasterxml.jackson.core:jackson-core:2.5.3 can be loaded, com.fasterxml.jackson.core:jackson-core:2.5.1_ and com.fasterxml.jackson.core:jackson-core:2.9.10 will be shadowed.
However, several methods defined in shadowed version com.fasterxml.jackson.core:jackson-core:2.9.10 are referenced by client project via com.fasterxml.jackson.core:jackson-databind:2.9.10.5 but missing in the actually loaded version com.fasterxml.jackson.core:jackson-core:2.5.3.
For instance, the following missing method(defined in com.fasterxml.jackson.core:jackson-core:2.9.10) are actually referenced by java-gitlab-api, which will introduce a runtime error(i.e., "NoSuchMethodError") into java-gitlab-api.
Suggested fixing solutions:
Upgrade direct dependency com.fasterxml.jackson.core:jackson-core from 2.5.3 to 2.9.10. Because version 2.9.10 includes the above missing methods and is compatible with other versions of com.fasterxml.jackson.core:jackson-core in the project.
Thank you very much for your attention.
Best regards,
Dependency tree----
The text was updated successfully, but these errors were encountered: