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

Samebug tips

  1. ,
    via GitHub by Athou

    You're using an older version of java with classes compiled for java7

  2. ,
    via Google Groups by Marcus Haebler

    Update "latest" to Java 8 on DockerHub.

Solutions on the web

via Oracle Community by 842032, 1 year ago
via GitHub by GoogleCodeExporter
, 2 years ago
Bad version number in .class file
via Stack Overflow by logan
, 2 years ago
Bad version number in .class file
via GitHub by iBotPeaches
, 2 years ago
Bad version number in .class file
via Stack Overflow by shuby_rocks
, 2 years ago
Bad version number in .class file
via Coderanch by Tontang Bei, 1 year ago
Bad version number in .class file
java.lang.UnsupportedClassVersionError: Bad version number in .class file	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)	at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1197)	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:973)	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Class.java:242)	at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:457)	at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:183)	at org.apache.tools.ant.taskdefs.Antlib.execute(Antlib.java:161)	at org.apache.tools.ant.Task.perform(Task.java:364)	at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:330)	at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:236)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)	at org.apache.tools.ant.Task.perform(Task.java:364)	at org.apache.tools.ant.Target.execute(Target.java:341)	at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:142)	at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)	at org.apache.tools.ant.Main.runBuild(Main.java:653)	at org.apache.tools.ant.Main.startAnt(Main.java:187)	at org.apache.tools.ant.Main.start(Main.java:150)	at org.apache.tools.ant.Main.main(Main.java:240)