You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.NoSuchMethodError: 'java.lang.String org.slf4j.helpers.MessageFormatter.basicArrayFormat(java.lang.String, java.lang.Object[])'
at io.apimatic.core.logger.ConsoleLogger.log(ConsoleLogger.java:30)
at io.apimatic.core.logger.SdkLogger.logRequest(SdkLogger.java:67)
at io.apimatic.core.ApiCall.execute(ApiCall.java:74)
at com.paypal.sdk.controllers.OAuthAuthorizationController.requestToken(OAuthAuthorizationController.java:50)
at com.paypal.sdk.authentication.ClientCredentialsAuthManager.fetchToken(ClientCredentialsAuthManager.java:164)
at com.paypal.sdk.authentication.ClientCredentialsAuthManager.fetchToken(ClientCredentialsAuthManager.java:179)
This error will occur if I configure loggingConfig and enable log printing. I tried to upgrade slf4j-api to 2.0.10 (from the current repository, I saw that your version is this), and then run it again without any problem, but the upgrade of slf4j-api from 1.7.x to 2.x is a bit big, which has a certain impact on my project (such as dependency version conflict, log cannot be output). I would like to ask for any better suggestions on this?
At present, I plan to turn off log printing.
The text was updated successfully, but these errors were encountered:
Hello author, I'm here again! This time I encountered NoSuchMethodError when enabling SDK log printing.
My project dependency version:
springboot 2.7.18
slf4j-api 1.7.36
logback-core 1.2.12
sdk configuration code:
Error code:
This error will occur if I configure loggingConfig and enable log printing. I tried to upgrade slf4j-api to 2.0.10 (from the current repository, I saw that your version is this), and then run it again without any problem, but the upgrade of slf4j-api from 1.7.x to 2.x is a bit big, which has a certain impact on my project (such as dependency version conflict, log cannot be output). I would like to ask for any better suggestions on this?
At present, I plan to turn off log printing.
The text was updated successfully, but these errors were encountered: