java.lang.NoClassDefFoundError: org/eclipse/jetty/server/handler/GzipHandler**

Stack Overflow | Jason | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Can't find Jetty's GzipHandler class when running JUnit against SnappyData

    Stack Overflow | 7 months ago | Jason
    java.lang.NoClassDefFoundError: org/eclipse/jetty/server/handler/GzipHandler**

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/eclipse/jetty/server/handler/GzipHandler**

      at org.apache.spark.ui.JettyUtils$$anonfun$4.apply()
    2. Spark
      JettyUtils$$anonfun$4.apply
      1. org.apache.spark.ui.JettyUtils$$anonfun$4.apply(JettyUtils.scala:235)
      2. org.apache.spark.ui.JettyUtils$$anonfun$4.apply(JettyUtils.scala:234)
      2 frames
    3. Scala
      AbstractTraversable.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      3. scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
      4. scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
      5. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      6. scala.collection.AbstractTraversable.map(Traversable.scala:105)
      6 frames
    4. Spark
      SparkContext$$anonfun$13.apply
      1. org.apache.spark.ui.JettyUtils$.startJettyServer(JettyUtils.scala:234)
      2. org.apache.spark.ui.WebUI.bind(WebUI.scala:136)
      3. org.apache.spark.SparkContext$$anonfun$13.apply(SparkContext.scala:499)
      4. org.apache.spark.SparkContext$$anonfun$13.apply(SparkContext.scala:499)
      4 frames
    5. Scala
      Option.foreach
      1. scala.Option.foreach(Option.scala:236)
      1 frame
    6. Spark
      SparkContext.<init>
      1. org.apache.spark.SparkContext.<init>(SparkContext.scala:499)
      1 frame