java - Spring-using library defined beans conflict with application - Stack Overflow
_halObjectMapper looks like the name of the bean created by spring-hateoas via @EnableHypermediaSupport.
Spring boot accepts the bean with name objectMapper if multiple beans of type ObjectMapper exist. You can therefore get round the problem by creating a 3rd object mapper bean with the name objectMapper and could even use one of the existing ObjectMapper beans.
Read full article from java - Spring-using library defined beans conflict with application - Stack Overflow
No comments:
Post a Comment