You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/01/29 09:58:00 UTC
[jira] [Updated] (CAMEL-16109) camel-hystrix-starter auto-config
fails with multiple "servletRegistrationBean"
[ https://issues.apache.org/jira/browse/CAMEL-16109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-16109:
--------------------------------
Priority: Minor (was: Major)
> camel-hystrix-starter auto-config fails with multiple "servletRegistrationBean"
> -------------------------------------------------------------------------------
>
> Key: CAMEL-16109
> URL: https://issues.apache.org/jira/browse/CAMEL-16109
> Project: Camel
> Issue Type: Bug
> Components: camel-spring-boot-starters
> Affects Versions: 3.7.1
> Reporter: Jesper Duelund Isaksen
> Priority: Minor
>
> A servlet based Spring Boot application using Apache Camel to expose REST endpoints fails with the following error:
> {noformat}
> 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.{noformat}
> Reproducer can be found here: [sys-jdi/hystrix-starter-issue (github.com)|https://github.com/sys-jdi/hystrix-starter-issue]
> To reproduce, start the application using
> {code:java}
> mvn spring-boot:run
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)