Error while executing Google Prediction API Command line Sample

后端 未结 2 468
北恋
北恋 2021-01-15 05:13

I have downloaded the sample command line program for prediction api and imported in eclipse as mention here .

I have imported that sample program and replaced the c

相关标签:
2条回答
  • 2021-01-15 05:54

    .../jre/lib/security/java.policy

    Can you try giving permission to all as below ?

    grant{
    permission java.security.AllPermission;
    };
    
    0 讨论(0)
  • 2021-01-15 06:12

    If you are using client_secrets.json, this creates a tiny file in your user folder - in my case it is C:\Users\myUser\.store\calendar_sample, the file is StoredCredential, so you can delete this file and try again the sample, this will work, when you run again your program it will ask you to grant permission again for your google account.

    0 讨论(0)
提交回复
热议问题