所有。我已经实现了一个测试GCM应用程序进行测试。 因为我需要一个服务器来管理消息。 所以我选择了Google云平台。 以下是我在构建时看到的错误消息。
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':backend:appengineEndpointsGetClientLibs'.
> There was an error running endpoints command get-client-lib: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.38 secs
unable to find valid certification path to requested target
下午 04:12:10: External task execution finished ':backend:assemble'.
似乎我没有有效的认证。 我尝试从http://magicmonster.com/kb/prg/java/ssl/pkix_path_building_failed.html在互联网上找到此问题 也许我应该在cacerts的路径中添加CA.
但我很困惑,这个应用程序的CA在哪里? 谁能帮我解决这个问题?
感谢您的亲切帮助。 BR 布赖恩