Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Unknown
Description
The Spring Framework 6.0.0-RC4 has moved from Servlet 5 to Servlet 6 (see [1]), that should be fine for runtime but does not play well with Spring Test Servlet mocks: they mock against Servlet 6.
java.lang.NoClassDefFoundError: jakarta/servlet/ServletConnection at org.apache.cxf.jaxrs.sse.SseEventSinkContextProviderTest.setUp(SseEventSinkContextProviderTest.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:578)
[1] https://github.com/spring-projects/spring-framework/issues/29435
Attachments
Issue Links
- links to