java.lang.UnsupportedClassVersionError: Bad version number in .class file

Oracle Community | 843804 | 9 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Mail.jar and activation.jar

    Oracle Community | 9 years ago | 843804
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
  2. 0

    invalid JChemWebServices.aar service

    chemaxon.com | 1 year ago
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
  3. 0

    Axis2-Redploying faulty service

    Coderanch | 9 years ago | Akhilesh Trivedi
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Axis2-Redploying faulty service

    Coderanch | 9 years ago | Lakshman Khadali
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
  6. 0
    samebug 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.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsupportedClassVersionError

    Bad version number in .class file

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    URLClassLoader.findClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(Unknown Source)
    3. java.security.SecureClassLoader.defineClass(Unknown Source)
    4. java.net.URLClassLoader.defineClass(Unknown Source)
    5. java.net.URLClassLoader.access$100(Unknown Source)
    6. java.net.URLClassLoader$1.run(Unknown Source)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. java.net.URLClassLoader.findClass(Unknown Source)
    8 frames
  3. org.apache.axis2
    DeploymentClassLoader.findClass
    1. org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:75)
    1 frame
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(Unknown Source)
    2. java.lang.ClassLoader.loadClass(Unknown Source)
    2 frames
  5. org.apache.axis2
    AbstractMessageReceiver.getTheImplementationObject
    1. org.apache.axis2.util.Loader.loadClass(Loader.java:218)
    2. org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:182)
    3. org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:224)
    3 frames
  6. com.intalio.bpms
    EmailHTMLServiceWSMessageReceiverInOut.invokeBusinessLogic
    1. com.intalio.bpms.tools.webservices.emailhtml.EmailHTMLServiceWSMessageReceiverInOut.invokeBusinessLogic(EmailHTMLServiceWSMessageReceiverInOut.java:23)
    1 frame
  7. org.apache.axis2
    AxisEngine.receive
    1. org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)
    2. org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
    3. org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
    3 frames
  8. Apache Axis2 - Transport - HTTP
    AxisServlet.doPost
    1. org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
    2. org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
    2 frames
  9. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
    2 frames
  10. Jetty Server
    ServletHolder.handle
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    1 frame
  11. org.apache.geronimo
    InternalJettyServletHolder.handle
    1. org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)
    1 frame
  12. Jetty Server
    SessionHandler.handle
    1. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
    2. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    3. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    3 frames
  13. org.apache.geronimo
    UserTransactionHandler.handle
    1. org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)
    2. org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58)
    3. org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)
    3 frames
  14. Jetty Server
    WebAppContext.handle
    1. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
    2. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    2 frames
  15. org.apache.geronimo
    ComponentContextHandler.handle
    1. org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)
    1 frame
  16. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
    2. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    3. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
    4. org.mortbay.jetty.Server.handle(Server.java:313)
    5. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
    6. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
    7. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:726)
    8. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    9. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
    10. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
    10 frames
  17. Geronimo Framework, Modules :: Core
    ThreadPool$ContextClassLoaderRunnable.run
    1. org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201)
    2. org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331)
    2 frames
  18. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames