Hello,

I could see Jetty version has been updated to 9.4.35, from 9.4.28 in JIra-
https://issues.apache.org/jira/browse/SPARK-33831
Does it have something to do with it?

Thank you
Kanchan

On Thu, May 27, 2021 at 5:16 PM Kanchan Kauthale <
kanchankauthal...@gmail.com> wrote:

> Hello,
>
> We have an existing project which works fine with Spark 2.4.7. We want to
> upgrade the spark version to 2.4.8. Scala version we are using is- 2.11
> After building with upgraded pom, we are getting error below for test cases-
>
> java.lang.NoClassDefFoundError: Could not initialize class
> org.spark_object.jetty.servlet.ServletContextHandler
> at
> org.apache.spark.ui.JettyUtils$.createServletHandler(JettyUtils.scala:143)
>
> When I checked in Maven dependencies, I could find the
> ServletContextHandlerclass under spark-core_2.11-2.4.8.jar in given package
> hierarchy. I have compiled code, dependencies have been resolved, classpath
> is updated.
>
> Any hint regarding this error would help.
>
>
> Thank you
>
> Kanchan
>

Reply via email to