java.lang.NoClassDefFoundError: org/eclipse/jetty/util/component/AggregateLifeCycle

Spring JIRA | Marc Navarro | 2 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

    A test for a java spark module managed by maven, with parent *spring-xd-module-parent* launch a _*java.lang.NoClassDefFoundError*_. I've forked the example repo [https://github.com/morfeo8marc/spring-xd-samples/tree/master/spark-streaming-wordcount-java-processor|https://github.com/morfeo8marc/spring-xd-samples/tree/master/spark-streaming-wordcount-java-processor] the samples project and created the *pom* file for the *spark-streaming-wordcount-java-processor* project and the corresponding test. Partial stack trace: {code:title=StackTrace} 2015-08-04 09:30:07,211 ERROR [DeploymentsPathChildrenCache-0] listen.ListenerContainer (ListenerContainer.java:run(96)) - Listener (org.springframework.xd.dirt.server.container.DeploymentListener@729c251b) threw an exception java.lang.NoClassDefFoundError: org/eclipse/jetty/util/component/AggregateLifeCycle at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.apache.spark.HttpServer.org$apache$spark$HttpServer$$doStart(HttpServer.scala:74) {code} When the *WordCountTest* test is launched the exception is launched. Is there a problem with the *spring-xd-module-parent* module ? Are some dependencies left?

    Spring JIRA | 2 years ago | Marc Navarro
    java.lang.NoClassDefFoundError: org/eclipse/jetty/util/component/AggregateLifeCycle
  2. 0

    A test for a java spark module managed by maven, with parent *spring-xd-module-parent* launch a _*java.lang.NoClassDefFoundError*_. I've forked the example repo [https://github.com/morfeo8marc/spring-xd-samples/tree/master/spark-streaming-wordcount-java-processor|https://github.com/morfeo8marc/spring-xd-samples/tree/master/spark-streaming-wordcount-java-processor] the samples project and created the *pom* file for the *spark-streaming-wordcount-java-processor* project and the corresponding test. Partial stack trace: {code:title=StackTrace} 2015-08-04 09:30:07,211 ERROR [DeploymentsPathChildrenCache-0] listen.ListenerContainer (ListenerContainer.java:run(96)) - Listener (org.springframework.xd.dirt.server.container.DeploymentListener@729c251b) threw an exception java.lang.NoClassDefFoundError: org/eclipse/jetty/util/component/AggregateLifeCycle at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.apache.spark.HttpServer.org$apache$spark$HttpServer$$doStart(HttpServer.scala:74) {code} When the *WordCountTest* test is launched the exception is launched. Is there a problem with the *spring-xd-module-parent* module ? Are some dependencies left?

    Spring JIRA | 2 years ago | Marc Navarro
    java.lang.NoClassDefFoundError: org/eclipse/jetty/util/component/AggregateLifeCycle
  3. 0

    Integration tests mysteriously fail if DynamoDb Local is added as a maven repo

    Google Groups | 11 months ago | Ali Akhtar
    java.lang.NoClassDefFoundError: org/eclipse/jetty/util/component/AggregateLifeCycle
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    eps2pgf error: Error: Unable to access jarfile eps2pgf.jar

    TeX - LaTeX | 2 years ago | Chocolate_Althea
    java.lang.NoClassDefFoundError: com/martiansoftware/jsap/JSAP
  6. 0

    GitHub comment 81#112570111

    GitHub | 2 years ago | shevek
    java.lang.NoClassDefFoundError: org/gradle/util/Configurable

  1. Handemelindo 4 times, last 1 month ago
  2. Hronom 1 times, last 1 month ago
  3. andyglick 2 times, last 1 month ago
  4. batwalrus76 6 times, last 2 months ago
  5. kjhdofjosvs 3 times, last 3 months ago
7 more registered users
88 unregistered visitors
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.NoClassDefFoundError

    org/eclipse/jetty/util/component/AggregateLifeCycle

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    10. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    11. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    12. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    13. java.lang.ClassLoader.defineClass1(Native Method)
    14. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    15. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    16. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    17. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    18. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    19. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    20. java.security.AccessController.doPrivileged(Native Method)
    21. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    22. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    23. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    24. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    25. java.lang.ClassLoader.defineClass1(Native Method)
    26. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    27. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    28. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    29. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    30. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    31. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    32. java.security.AccessController.doPrivileged(Native Method)
    33. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    34. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    35. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    36. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    37. java.lang.ClassLoader.defineClass1(Native Method)
    38. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    39. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    40. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    41. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    42. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    43. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    44. java.security.AccessController.doPrivileged(Native Method)
    45. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    46. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    47. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    48. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    48 frames
  3. Spark
    HttpServer.org$apache$spark$HttpServer$$doStart
    1. org.apache.spark.HttpServer.org$apache$spark$HttpServer$$doStart(HttpServer.scala:74)
    1 frame