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 Jenkins JIRA by Ludovic Meurillon, 1 year ago
via Jenkins JIRA by Ludovic Meurillon, 1 year ago
via Jenkins JIRA by Mike Holland, 1 year ago
via Jenkins JIRA by Mike Holland, 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: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 winstone.classLoader.WebappClassLoader.loadClass(WebappClassLoader.java:68)	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)	at hudson.security.PermissionScope.(PermissionScope.java:70)	at hudson.security.PermissionScope.(PermissionScope.java:95)	at hudson.security.Permission.(Permission.java:179)	at hudson.security.Permission.(Permission.java:292)	at jenkins.model.Jenkins.(Jenkins.java:3817)	at hudson.WebAppMain.installLogger(WebAppMain.java:256)	at hudson.WebAppMain.contextInitialized(WebAppMain.java:107)	at winstone.WebAppConfiguration.(WebAppConfiguration.java:875)	at winstone.HostConfiguration.initWebApp(HostConfiguration.java:129)	at winstone.HostConfiguration.(HostConfiguration.java:71)	at winstone.HostGroup.initHost(HostGroup.java:87)	at winstone.HostGroup.(HostGroup.java:47)	at winstone.Launcher.(Launcher.java:177)	at winstone.Launcher.main(Launcher.java:384)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at Main._main(Main.java:273)	at Main.main(Main.java:98)