我在Grails上实现了PayPal,但我无法创建OAuthToken。当我尝试创建令牌时,会抛出异常。
我生成令牌的代码是
String accessToken = new OAuthTokenCredential(configVal.clientId, configVal.clientSecret, sdkConfig).getAccessToken();
和例外是
java.security.cert.CertificateException: No X509TrustManager implementation available
Caused by CertificateException: No X509TrustManager implementation available
executeWithStream in com.paypal.base.HttpConnection
generateAccessToken in com.paypal.base.rest.OAuthTokenCredential