When attempting to upgrade or install Spring Cloud Services, the installation fails with the following message:
{"type": "step_finished", "id": "errands.running.p-spring-cloud-services-a978fc8f45f9b12fd913.deploy-service-broker"} Exited with 1.
Error Message:
Check further on the Spring Cloud Services logs by running the following command:
cf logs spring-cloud-broker --recent
It would contain the error log messages shown below:
2015-08-27T05:20:25.94-0400 [App/0] ERR Exception in thread "main" java.lang.UnsupportedClassVersionError: io/pivotal/springcloud/servicebroker/Application : Unsupported major.minor version 52.0
This error is shown if the prerequisite of the Java buildpack of at least 2.5 or higher is not detected.
Follow the steps below to resolve this issue:
cf buildpacks Getting buildpacks... buildpack position enabled locked filename java_buildpack_offline 1 true false java-buildpack-offline-v3.0.zip