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 Coderanch by Rajeev Ravindran, 1 year ago
Bad version number in .class file
via coderanch.com by Unknown author, 2 years ago
via Jenkins JIRA by Jean-Baptiste Lièvremont, 1 year ago
via Jenkins JIRA by Jean-Baptiste Lièvremont, 1 year ago
via atlassian.com by Unknown author, 2 years ago
via Stack Overflow by Dani
, 2 years ago
java.lang.UnsupportedClassVersionError: Bad version number in .class file	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(Unknown Source)	at java.security.SecureClassLoader.defineClass(Unknown Source)	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817)	at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)	at java.lang.ClassLoader.loadClassInternal(Unknown Source)	at java.lang.Class.getDeclaredMethods0(Native Method)	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)	at java.lang.Class.getMethod0(Unknown Source)	at java.lang.Class.getMethod(Unknown Source)	at com.testwebsite.servlets.AutoCompleteServlet.getJsonResultAsString(AutoCompleteServlet.java:74)	at com.testwebsite.servlets.AutoCompleteServlet.doGet(AutoCompleteServlet.java:41)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)	at java.lang.Thread.run(Unknown Source)