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.
Boot 2.1 upgrade causes the SCDF CF server to fail with the bean override exception on some of the configuration classes: