We have an application embedding Spring Cloud Zuul (Intelligent microservices reverse proxy)
If we add Charon to this application, it'won't start anymore. It fail with the error:
`
APPLICATION FAILED TO START
Description:
Field server in com.github.mkopylec.charon.configuration.CharonConfiguration required a single bean, but 2 were found:
serverProperties: defined by method 'serverProperties' in org.springframework.boot.autoconfigure.web.ServerPropertiesAutoConfiguration
server-org.springframework.boot.autoconfigure.web.ServerProperties: defined in null
`
We have workaround it by excluding CharonConfiguration
@SpringBootApplication(exclude = {CharonConfiguration.class})
And adding our copy-paste version, while removing ServerProperties here:
@EnableConfigurationProperties({CharonProperties.class})
We have an application embedding Spring Cloud Zuul (Intelligent microservices reverse proxy) If we add Charon to this application, it'won't start anymore. It fail with the error:
`
APPLICATION FAILED TO START
Description: Field server in com.github.mkopylec.charon.configuration.CharonConfiguration required a single bean, but 2 were found:
We have workaround it by excluding CharonConfiguration
@SpringBootApplication(exclude = {CharonConfiguration.class})
And adding our copy-paste version, while removing ServerProperties here:@EnableConfigurationProperties({CharonProperties.class})