private static final String URL_WX_CODE_2_SESSION = "https://api.weixin.qq.com/sns/jscode2session";
String url = UriComponentsBuilder
.fromHttpUrl(URL_WX_CODE_2_SESSION)
.queryParam("appid", appid)
.queryParam("secret", secret)
.queryParam("js_code", code)
.queryParam("grant_type", "authorization_code")
.build().toUriString();
后台springboot通过OkHttp3调用微信登录,结果报错:
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
请问要如何解决
在本机调试没问题,运行在阿里云会出现以上错误

又不是微信报的错