This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Endpoints framework depends on deprecated jackson function #204
Comments
See #207 |
endpoints-framework-tools has the same problem for me:
Anybody has any idea how to resolve this? I encountered the problem when upgrading the Android Gradle Plugin in a module that also uses com.google.cloud.tools.endpoints-framework-client gradle plugin. |
You can try and depend on these deps in your buildscript:
With jitpack enabled as a repository:
|
@cmaan That solved my problem for now. Thanks a lot! Going to use that dependency for the time being, while I'm going to figure out what to do with my endpoints. |
william-ferguson-au
pushed a commit
to william-ferguson-au/endpoints-java
that referenced
this issue
May 12, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
the endpoints framework makes use of the function
getGenericType()
of jackson. However this function was removed with jackson >= 2.11.0. Automatic dependency resolution with maven downloads the most current version of jackson though. This leads to the following error:java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.introspect.AnnotatedField.getGenericType()Ljava/lang/reflect/Type;
https://fasterxml.github.io/jackson-databind/javadoc/2.10/com/fasterxml/jackson/databind/introspect/AnnotatedField.html#getGenericType--
The text was updated successfully, but these errors were encountered: