Hello!
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)
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 :
"image:"
and by default, image of docker from bitbucket runs on 52.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the Atlassian Community!
@Akash Jain could you explain what more "detailed info" you need, beyond "use the right version of Java for your code"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- I have checked the version on my local system...As you said "you've compiled a java class with a certain version of Jira" so just wanted to know that local system JDK version should match with the JIRA version of bitbucket ? and where can I find JIRA JVM version?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So what version of Java are you using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.