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

Spring JIRA | Marc Navarro | 1 year ago
  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 | 1 year 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 | 1 year 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 | 8 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 | 1 year ago | shevek
    java.lang.NoClassDefFoundError: org/gradle/util/Configurable

  1. kjhdofjosvs 3 times, last 3 weeks ago
  2. Luka 24 times, last 2 months ago
  3. andyglick 2 times, last 3 months ago
  4. tfr 8 times, last 4 months ago
  5. pnaranja 1 times, last 5 months ago
5 more registered users
90 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