[ https://issues.apache.org/jira/browse/SPARK-51434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936487#comment-17936487 ]
Cheng Pan commented on SPARK-51434: ----------------------------------- [~andyhayder] Could you please try creating a fake jakarta.servlet.SingleThreadModel interface and see if there are other issues? I checked the Jetty11 code, it only has one place refers `SingleThreadModel`, if this is the one place that need to change, I can try to send a PR to Jetty project by using reflection to eliminate such a ClassNotFoundException. > jakarta.servlet Version 5 => 6 > ------------------------------ > > Key: SPARK-51434 > URL: https://issues.apache.org/jira/browse/SPARK-51434 > Project: Spark > Issue Type: Dependency upgrade > Components: Spark Core > Affects Versions: 4.0.0 > Reporter: Andy Hayder > Priority: Major > Fix For: 4.1.0 > > > Using jakarta.servlet V 5 is here in the free world a big problem. > With spring-boot 3.x, hibernate and spark in combination you are in a > dependency hell through using antlr4-runtime and jakarta.servlet. It's > impossible to find a matching configuration. > > We have to update the stack once a year. So jakarta-servlet V5 i a little bit > older and when waiting to spark V 4 [its a new major release!!] with a > updated jakarta-servlet API V6 , the world looks much better. > Unfortunately, Spark uses Servlet classes > (jakarta/servlet/SingleThreadModel), which are no longer available in Servlet > 6. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org