- I have pushed the scdf server jar and skipper server in PCF, now I want to change the existing DB i.e. H2 to MySQL, For this I have created the MySQL service from marketplace , but when I tried to bind the MySQL service to skipper server app I am getting below exception
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.
I tried to apply
JBP_CONFIG_SPRING_AUTO_RECONFIGURATION '{enabled: false}'
to skipper server environment variable but I still gets the same exception.As per the exception I need to remove `Spring cloud connector libraryv from classpath, but I have used to push skkiper server jar to pcf, so how can I remove this dependency(do I need to take skipper server code and manually remove the dependency ? If yes then what is the dependency I need to exclude in maven ?)
skipper version used : 2.1.0