📜  原因:java.lang.RuntimeException:无法获取与 Cloud SQL API 通信的凭据 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:05.259000             🧑  作者: Mango

代码示例1
This error comes if "application_default_credentials.json" file is not there in "C:\Users\\AppData\Roaming\gcloud\"

To populate this JSON file, run below command in cmd prompt;

command : gcloud auth application-default login

So this will create "application_default_credentials.json" file in the above directory. Now, you can restart your spring boot application.