spring-attic / spring-cloud-dataflow-server-cloudfoundry

Spring Cloud Data Flow Implementation for Cloud Foundry
http://cloud.spring.io/spring-cloud-dataflow-server-cloudfoundry/
Apache License 2.0
21 stars 42 forks source link

Investigate Boot 2.1 upgrade issues #460

Closed ilayaperumalg closed 5 years ago

ilayaperumalg commented 5 years ago

Boot 2.1 upgrade causes the SCDF CF server to fail with the bean override exception on some of the configuration classes:

The bean 'scopedTarget.oauth2ClientContext', defined in class path resource [org/springframework/security/oauth2/config/annotation/web/configuration/OAuth2ClientConfiguration$OAuth2ClientContextConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/OAuth2RestOperationsConfiguration$RequestScopedConfiguration.class] and overriding is disabled.

The bean 'appDeploymentProperties', defined in class path resource [org/springframework/cloud/dataflow/server/cloudfoundry/config/CloudFoundryDataFlowServerConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/cloud/deployer/spi/cloudfoundry/CloudFoundryDeployerAutoConfiguration$EarlyConnectionConfiguration.class] and overriding is disabled.