-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
java.lang.NoSuchMethodError due to changed return type in org.springframework.test.web.reactive.server.EntityExchangeResult.getStatus() #1660
Comments
+1 for this |
1 similar comment
+1 for this |
4.5.0-beta.1 has been released with the new spring6 lib |
Nice one, thank you so far! Now it would be cool, to see this adaption also for the yet-Spring-5 |
Sorry for the confusion, the |
I have the same error using WebFluxTest |
The recently released |
I see, I tried now, and it works, thanks |
We've switched to Spring Boot 3 in conjunction with Spring Framework 6.
While verifying with…
…we are now experiencing the following error…
java.lang.NoSuchMethodError: 'org.springframework.http.HttpStatus org.springframework.test.web.reactive.server.EntityExchangeResult.getStatus()'
If you compare ExchangeResult in Spring Framework 5 it still returns
HttpStatus
while in Spring Framework 6 it returnsHttpStatusCode
.Can you adapt to this new reality?
The text was updated successfully, but these errors were encountered: