Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Error About UnsupportedClassVerion Java Runtime Error

Cosmin I'm New Here Aug 31, 2022


Can someone please help me? Thank you in advance!

I got this error while trying to RUN a pipeline for salesforce with Ant Migration Tool

/opt/atlassian/pipelines/agent/build/build/build.xml:5: java.lang.UnsupportedClassVersionError: com/sforce/soap/partner/fault/LoginFault has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)

1 answer

1 accepted

0 votes
Answer accepted

Welcome to the Atlassian Community!

This is what it says it is - you've compiled a java class with a certain version of Jira, but you're now trying to run it on an older JVM.

You either need to compile the class for the version of Java, or upgrade the JVM to the version you compiled for.

It works now, I did not set the image of the docker that I got form the bitbucket.
It was empty like :


and by default, image of docker from bitbucket runs on 52.0

Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events