Pivotal Knowledge Base


Unsupported major.minor Version 52.0 Error Seen When Installing Spring Cloud Services


Spring Cloud Services for the PCF version 1.2


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

would contain the error log messages shown here:

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 these steps to resolve this issue:

  1. Run cf buildpacks  
  2. Check if you have buildpack 2.5 (or higher):
    cf buildpacks
    Getting buildpacks...
    buildpack                position   enabled   locked   filename   
    java_buildpack_offline   1          true      false    java-buildpack-offline-v3.0.zip 
  3. If you have multiple Java buildpacks, make sure Java buildpack 2.5 (or higher) has a higher position than the older Java buildpack and that is position 1.
  4. Run bosh run errand deploy-service-broker to deploy the Spring Cloud Service Broker.


Powered by Zendesk