googlemaps / googlemaps/google-maps-services-java

Unable to create instance of class com.google.maps.GeocodingApi$Response. Registering an InstanceCreator or a TypeAdapter for this type, or adding a no-args constructor may fix this problem.

Ouverte
#914 3 commentaires 4 réactions 1 personne assignée Réclamée par @amuramoto Voir sur GitHub
triage me type: bug
Langage dominant
Java
Étoiles
1.8k
Forks
973
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hello, I have a problem running my Java Spring Boot application with a native image.

When searching for an address I get the error:
`Unable to create instance of class com.google.maps.GeocodingApi$Response. Registering an InstanceCreator or a TypeAdapter for this type, or adding a no-args constructor may fix this problem.`

The error only occurs when compiling with native image, when using JVM the problem does not occur.

Spring Boot: 3.0.6
GraalVM: 22.3.1
JDK: 17

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.