question

aliali-7052 avatar image
0 Votes"
aliali-7052 asked SamaraSoucy-MSFT commented

Azure AD with spring cloud gateway architecture

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-cloud
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This error is usually because of non-matching dependency versions, including upstream dependencies from the ones explicitly included. I was able to build with this dependency list with Azure version 3.2.0 in addition to Spring version Hoxton.SR8. Are there any other dependencies or projects involved that could be causing the conflict?

0 Votes 0 ·

0 Answers