Skip to content

[BUG] Active Directory starter 6.1.0 ClassNotFoundException: com.nimbusds.oauth2.sdk.util.StringUtils #47600

@dnijssen

Description

@dnijssen

Describe the bug
Between Spring Cloud Azure Dependencies 6.0.0 -> 6.1.0 we stumbled upon a ClassNotFoundException: com.nimbusds.oauth2.sdk.util.StringUtils

Exception or Stack Trace

Caused by: java.lang.NoClassDefFoundError: com/nimbusds/oauth2/sdk/util/StringUtils
	at com.azure.spring.cloud.autoconfigure.implementation.aad.security.properties.AadAuthorizationServerEndpoints.<init>

Additional context
We just have a simple Spring Boot project at our side, with the following Security related dependencies;

implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server")
implementation("com.azure.spring:spring-cloud-azure-starter-active-directory")

Works with Spring Boot 3.5.9 and Spring Azure Cloud Depenencies 6.0.0, but when upgrading to Spring Azure Cloud Dependencies 6.1.0 it breaks

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.azure-springAll azure-spring related issuescustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions