Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.7.1
-
None
-
Unknown
Description
A servlet based Spring Boot application using Apache Camel to expose REST endpoints fails with the following error:
The bean 'servletRegistrationBean', defined in class path resource [org/apache/camel/component/servlet/springboot/ServletMappingAutoConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [org/apache/camel/component/hystrix/springboot/HystrixMappingAutoConfiguration.class] and overriding is disabled.
Reproducer can be found here: sys-jdi/hystrix-starter-issue (github.com)
To reproduce, start the application using
mvn spring-boot:run