on 05-14-2023 10:08 PM
I am getting below error while trying to use sapjco3 in my Springboot application. I am deploying my application to SAP Cloud foundry environment packaging as war file with tomee7 TARGET_RUNTIME.
I am trying to call a BAPI using SAP Cloud SDK as specified in the below documents.
https://sap.github.io/cloud-sdk/docs/java/features/bapi-and-rfc/overview
com.sap.cloud.sdk.cloudplatform.security.exception.TokenRequestFailedException: Failed to resolve access token.","\tat com.sap.cloud.sdk.cloudplatform.connectivity.OAuth2ServiceImpl.lambda$executeClientCredentialsFlow$1(OAuth2ServiceImpl.java:119)"
That has nothing to do with JCo. The end user fails to log in to the CF application (via HTTP). So the application (which would then use JCo) is not yet even started.
You need to double-check the authentication settings of your CF application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.