【发布时间】:2019-12-21 20:00:31
【问题描述】:
- 我已经在 PCF 中推送了 scdf 服务器 jar 和 skipper 服务器,现在我想将现有的 DB 即 H2 更改为 MySQL,为此我已经从市场创建了 MySQL 服务,但是当我尝试将 MySQL 服务绑定到我遇到异常的船长服务器应用程序
java.lang.IllegalStateException: Exiting the application
since the Spring Cloud Connector library has been detected
on the classpath.
Please remove this dependency from your project
and set the environment variable
JBP_CONFIG_SPRING_AUTO_RECONFIGURATION '{enabled: false}'
in the Cloud Foundry manifest.
我尝试将
JBP_CONFIG_SPRING_AUTO_RECONFIGURATION '{enabled: false}'应用于 skipper 服务器环境变量,但仍然遇到相同的异常。
1234563并手动删除依赖项?如果是,那么我需要在 maven 中排除什么依赖项?)
使用的船长版本:2.1.0
【问题讨论】:
标签: spring-cloud-dataflow spring-cloud-skipper