Skip to content

HypermediaAutoConfiguration hinges on Spring MVC #19392

@gregturn

Description

@gregturn

A Spring WebFlux application that uses Spring HATEOAS and has properly excluded Spring MVC will blow up due to HypermediaAutoConfiguration pulling in WebMvcAutoConfiguration.

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 off HateosConfiguration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions