Skip to content

EndpointMBeanExportAutoConfiguration required a single bean, but 3 were found #6529

@bitsofinfo

Description

@bitsofinfo

My Application.java defines no such bean, but extends from RepositoryRestMvcConfiguration

This worked in w/ Spring 1.3.6 but when I upgraded to 1.4.0 I now get this

Constructor in org.springframework.boot.actuate.autoconfigure.EndpointMBeanExportAutoConfiguration required a single bean, but 3 were found:
        - objectMapper: defined by method 'objectMapper' in my.package.Application
        - halObjectMapper: defined by method 'halObjectMapper' in my.package.Application
        - _halObjectMapper: defined in null

https://jira.spring.io/browse/DATAREST-865

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions