[ 
https://issues.apache.org/jira/browse/SPARK-51434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936505#comment-17936505
 ] 

Andy Hayder commented on SPARK-51434:
-------------------------------------

In the moment it runs with Jakarta 5, but what you suggest is guess coding.

In fact, I have no idea what i am doing, when I do this in this way.

It's possible that all tests running and than in production it crashes. An 
than..??

 

>>I can try to send a PR to the Jetty project by using reflection to eliminate 
>>such a ClassNotFoundException.

==> thats the better idea

> 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

Reply via email to