Resolution

ARTIFACTORY: Unsupported major.minor version error

AuthorFullName__c
Venu Reddy
articleNumber
000005178
ft:sourceType
Salesforce
FirstPublishedDate
2021-12-13T07:51:54Z
lastModifiedDate
2021-12-13
VersionNumber
2

The following are the assigned major numbers. The error regarding unsupported major.minor version is caused by using a different version of JRE during runtime than the JDK version that class was compiled with.

Java SE 17 = 61,

Java SE 16 = 60, 

Java SE 15 = 59,

Java SE 14 = 58,

Java SE 13 = 57,

Java SE 12 = 56,

Java SE 11 = 55,

Java SE 10 = 54,

Java SE 9 = 53,

Java SE 8 = 52,

Java SE 7 = 51,

Java SE 6.0 = 50,

Java SE 5.0 = 49,

JDK 1.4 = 48,

JDK 1.3 = 47,

JDK 1.2 = 46,

JDK 1.1 = 45

Thus, the 'major.minor version 52.0' error is possibly because the jar was compiled in JDK 1.8, but you are trying to run it using a JDK 1.7 environment. The reported number is the required number, not the number you are using.


Make sure that the underlying classes are compiled with a compatible JDK version that Bamboo Artifactory plugin was using. Refer to Compatible versions of Bamboo for each plugin version