You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Pan (Jira)" <ji...@apache.org> on 2025/03/13 08:47:00 UTC
[jira] [Commented] (SPARK-51434) jakarta.servlet Version 5 => 6
[ https://issues.apache.org/jira/browse/SPARK-51434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17935099#comment-17935099 ]
Cheng Pan commented on SPARK-51434:
-----------------------------------
Would you mind sharing the stacktrace of ClassNotFound jakarta/servlet/SingleThreadModel?
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org