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.

オープン
#914 コメント 3 件 リアクション 4 件 担当者 1 名 @amuramoto が担当を希望しています GitHub で見る
triage me type: bug
主要言語
Java
スター
1.8k
フォーク
973
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。