java.lang.UnsupportedClassVersionError: Bad version number in .class file

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Jean-Baptiste Lièvremont, 1 year ago
Bad version number in .class file
via Jenkins JIRA by Jean-Baptiste Lièvremont, 1 year ago
Bad version number in .class file
via atlassian.com by Unknown author, 2 years ago
via Stack Overflow by Dani
, 2 years ago
via Coderanch by Shashank Sharma, 1 year ago
Bad version number in .class file
via Oracle Community by 1001448, 1 year ago
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1853)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:875)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1330)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at hudson.DNSMultiCast.(DNSMultiCast.java:26)
at hudson.model.Hudson.(Hudson.java:691)
at hudson.model.Hudson.(Hudson.java:605)
at hudson.WebAppMain$2.run(WebAppMain.java:221)

Users with the same issue

19 times, 2 weeks ago
Once, 2 weeks ago
5 times, 1 month ago
Once, 2 months ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.