Azure AD with spring cloud gateway architecture

ali ali 1 Reputation point
2021-03-25T14:33:37.667+00:00

I'm working to use Azure AD with spring cloud architecture,I have used the following dependencies

 implementation group: 'org.springframework.cloud', name: 'spring-cloud-dependencies', version: 'Hoxton.SR8', ext: 'pom'
 implementation 'org.springframework.cloud:spring-cloud-starter'
 implementation 'org.springframework.cloud:spring-cloud-starter-gateway'
 implementation 'org.springframework.cloud:spring-cloud-config-client'
 implementation 'org.springframework.cloud:spring-cloud-starter-sleuth'
 implementation 'org.springframework.cloud:spring-cloud-starter-zipkin'     
 implementation 'com.azure.spring:azure-spring-boot-starter-active-directory'

but i can't build due to this error

java.lang.IllegalStateException: Error processing condition on com.azure.spring.autoconfigure.aad.AADAuthenticationFilterAutoConfiguration.getJWTResourceRetriever

Caused by: java.lang.ClassNotFoundException: javax.servlet.Filter 
Azure Spring Apps
Azure Spring Apps
An Azure platform as a service for running Spring Boot applications at cloud scale. Previously known as Azure Spring Cloud.
109 questions
{count} votes