java.lang.ClassNotFoundException: org.eclipse.jetty.server.HttpConnection

Atlassian JIRA | Sultan Maiyaki [Atlassian] | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    We have tested with same configuration and same jar file worked in Bamboo 3.4.x but fails in the latest 4.1 version with an error in the logs as thus: {noformat} Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.HttpConnection at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) {noformat} {noformat} 2012-06-19 12:55:18.973:WARN:oejs.AbstractConnector: java.lang.NoClassDefFoundError: org/eclipse/jetty/ajp/Ajp13Connection at org.eclipse.jetty.ajp.Ajp13SocketConnector.newConnection(Ajp13SocketConnector.java:71) at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.<init>(SocketConnector.java:194) at org.eclipse.jetty.server.bio.SocketConnector.accept(SocketConnector.java:115) at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:933) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534) at java.lang.Thread.run(Thread.java:662) {noformat}

    Atlassian JIRA | 5 years ago | Sultan Maiyaki [Atlassian]
    java.lang.ClassNotFoundException: org.eclipse.jetty.server.HttpConnection
  2. 0

    We have tested with same configuration and same jar file worked in Bamboo 3.4.x but fails in the latest 4.1 version with an error in the logs as thus: {noformat} Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.HttpConnection at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) {noformat} {noformat} 2012-06-19 12:55:18.973:WARN:oejs.AbstractConnector: java.lang.NoClassDefFoundError: org/eclipse/jetty/ajp/Ajp13Connection at org.eclipse.jetty.ajp.Ajp13SocketConnector.newConnection(Ajp13SocketConnector.java:71) at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.<init>(SocketConnector.java:194) at org.eclipse.jetty.server.bio.SocketConnector.accept(SocketConnector.java:115) at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:933) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534) at java.lang.Thread.run(Thread.java:662) {noformat}

    Atlassian JIRA | 5 years ago | Sultan Maiyaki [Atlassian]
    java.lang.ClassNotFoundException: org.eclipse.jetty.server.HttpConnection

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      org.eclipse.jetty.server.HttpConnection

      at java.net.URLClassLoader$1.run()
    2. Java RT
      URLClassLoader.access$000
      1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      2. java.security.AccessController.doPrivileged(Native Method)
      3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      6. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      7. java.lang.ClassLoader.defineClass1(Native Method)
      8. java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
      9. java.lang.ClassLoader.defineClass(ClassLoader.java:615)
      10. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
      11. java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
      12. java.net.URLClassLoader.access$000(URLClassLoader.java:58)
      12 frames