-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spring boot 3.0 fail with jersey and spring cloud (open feign, ect) #1295
Comments
I went through the same problem when I updated my project to spring boot 3 (PR). The workaround worked for me, thanks. |
@OlgaMaciaszek Any progress on this issue? I'm not sure it is correct to move the issue here. ResourceServerTokenRelayAutoConfiguration is, looking at the property, mvc oriented and depends on classes from web-mvc (like Now, looking at what is in that Adding that additional class check could fix the issue and being such a small fix, can be included in the upcoming release. We are currently upgrading our internal libraries to Spring Boot 3.x and also facing the missing class issue 😞 |
Looking into it now. |
This is a bug in Commons. Moving it there. Will provide a fix. |
@Fyro-Ing commented on Tue Mar 14 2023
When using Spring boot 3.0 with jersey (not mvc) with spring cloud open feign, start failed
Spring cloud open feign include org.springframework.cloud:spring-cloud-commons with a default config for web mvc
spring-cloud-commons/spring-cloud-commons/src/main/java/org/springframework/cloud/commons/security/ResourceServerTokenRelayAutoConfiguration.java
Line 58 in 8ec45e0
To reproduce : run starter
https://start.spring.io/#!type=gradle-project&language=java&platformVersion=3.0.4&packaging=jar&jvmVersion=17&groupId=com.example&artifactId=demo&name=demo&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.demo&dependencies=lombok,cloud-feign,jersey
Workaround : set "spring.cloud.mvc.token-relay.enabled" at false
The text was updated successfully, but these errors were encountered: