SAP Knowledge Base Article - Preview

2593596 - InvalidTokenException: Error in loading the JWT library


You are implementing authentication for a Java application on XS Advanced or Cloud Foundry environment, but you get the following error message when calling the application:

Invalid Access token

Logs from the application show the following exception:

Caused by: Error in loading the JWT library
YYYY-MM-DDTHH:MM:SS [APP/PROC/WEB/0] OUT at<init>( ~[security-commons-X.YY.Z.jar!/:na]



SAP HANA Extended Application Services, Advanced model


SAP BTP, Cloud Foundry environment all versions ; SAP HANA, platform edition 2.0


bearer, approuter, xsa, scp, cf, btp, sap cp, xssec, java buildpack, spring, java security , KBA , BC-XS-SEC , UAA and Security for HANA XSA engine , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.