Integration libraries and samples for authenticating users and clients bound to XSUAA authentication and authorization service or Identity authentication service.
Using version 2.10.0 of xsuaa-spring-boot-starter, the following error occurs during our integration tests:
java.lang.NoClassDefFoundError: com/sap/cloud/security/config/CredentialType
at com.sap.cloud.security.xsuaa.autoconfiguration.XsuaaAutoConfiguration$OnNotX509CredentialTypeCondition.matches(XsuaaAutoConfiguration.java:113)
Looking at the XsuaaAutoConfiguration and CredentialType classes, it appears the spring-xsuaa artifact (where XsuaaAutoConfiguration is located) may be missing a dependency on the java-api artifact (where CredentialType is located).
Adding the java-api dependency to our project resolved the issue so it looks like that is the case.
Using version 2.10.0 of
xsuaa-spring-boot-starter
, the following error occurs during our integration tests:Looking at the
XsuaaAutoConfiguration
andCredentialType
classes, it appears thespring-xsuaa
artifact (whereXsuaaAutoConfiguration
is located) may be missing a dependency on thejava-api
artifact (whereCredentialType
is located).Adding the
java-api
dependency to our project resolved the issue so it looks like that is the case.