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
HypermediaAutoConfiguration hinges on Spring MVC #19392
Comments
AFAICT What error are you actually seeing? Have you got a sample application we can run? |
Okay, I tracked it down to Working on a sample. |
Demonstrates spring-projects/spring-boot#19392
See my linked in repository. |
|
This comment has been minimized.
This comment has been minimized.
This line causes the issue because |
See also #16020 |
A Spring WebFlux application that uses Spring HATEOAS and has properly excluded Spring MVC will blow up due to
HypermediaAutoConfiguration
pulling inWebMvcAutoConfiguration
.Can we somehow further constrain this autoconfiguration to not kick in the there is no Spring MVC on the classpath?
Right now, I have to set
spring.hateoas.use-hal-as-default-json-media-type=false
to manually turn offHateosConfiguration
.The text was updated successfully, but these errors were encountered: