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 Oracle Community by 843804, 1 year ago
Bad version number in .class file
via Coderanch by Akhilesh Trivedi, 1 year ago
Bad version number in .class file
via Coderanch by Lakshman Khadali, 1 year ago
Bad version number in .class file
via Google Groups by Steffen, 2 years ago
Bad version number in .class file
via Google Groups by Matt Raible, 2 years ago
Bad version number in .class file
via Stack Overflow by eskalera
, 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(Unknown Source)	at java.security.SecureClassLoader.defineClass(Unknown Source)	at java.net.URLClassLoader.defineClass(Unknown Source)	at java.net.URLClassLoader.access$100(Unknown Source)	at java.net.URLClassLoader$1.run(Unknown Source)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(Unknown Source)	at org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:75)	at java.lang.ClassLoader.loadClass(Unknown Source)	at java.lang.ClassLoader.loadClass(Unknown Source)	at org.apache.axis2.util.Loader.loadClass(Loader.java:218)	at org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:182)	at org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:224)	at com.intalio.bpms.tools.webservices.emailhtml.EmailHTMLServiceWSMessageReceiverInOut.invokeBusinessLogic(EmailHTMLServiceWSMessageReceiverInOut.java:23)	at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)	at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)	at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)	at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)	at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58)	at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)	at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)	at org.mortbay.jetty.Server.handle(Server.java:313)	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:726)	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)	at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)	at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)