Getting error "unsupported major.minor version 52.0" when running server with openmrs sdk plugin 3.13.6

Tags: #<Tag:0x00007f0f18b3ecb8>

Dear Community.

I want to set up a server using the latest version of openmrs sdk (3.13.6) on Ubuntu 18.04. Installing the SDK and setting up the server is successful (all using Java 8). And when I am setting the server I specify that I want to run my server using Java 7, as I am using platform 1.9.11. And I have Tomcat 7 in my “CATALINA_HOME” environment variable.

My distribution artifact is: org.openmrs.module:pihmalawi:6.8.0-SNAPSHOT

However when I try to run my server I get the error “unsupported major.minor version 52.0”.

Has anyone come across this issue before or have an idea how to resolve the issue?

Thank you!


CC: @raff

1 Like

Thanks for reporting this. I have been able to reproduce it. Can you create a ticket for it?

As a workaround for now, run it like this: mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.4:run

1 Like

Thanks so much @dkayiwa. This worked perfectly!

I will create a ticket for the issue.