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. ,
    Expert tip

    This might be caused by and outdated version of Java, SonarQube now uses Java 8 as default. You might upgrade java or use an older version of SonarQube.

  2. ,
    Expert tip

    If you're using intellij plugin of sonarqube, you might have to set the JAVA_HOME ambient variable manually.

Solutions on the web

via vectomatic.org by Unknown author, 1 year ago
Bad version number in .class file
via Stack Overflow by Sonali
, 1 year ago
via Oracle Community by 507350, 2 years ago
via Oracle Community by 843851, 1 year ago
Bad version n umber in .class file
via Google Groups by Unknown U, 2 years 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:676)	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:317)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Class.java:242)	at com.google.gwt.dev.javac.TypeOracleMediator.getAnnotationClass(TypeOracleMediator.java:482)	at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotation(TypeOracleMediator.java:563)	at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotations(TypeOracleMediator.java:583)	at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass(TypeOracleMediator.java:728)	at com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits(TypeOracleMediator.java:353)	at com.google.gwt.dev.javac.CompilationState.assimilateUnits(CompilationState.java:135)	at com.google.gwt.dev.javac.CompilationState.(CompilationState.java:79)	at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:286)	at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:182)	at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:280)	at com.google.gwt.dev.DevModeBase$UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:99)	at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:180)	at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:380)	at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)	at java.lang.Thread.run(Thread.java:613)