Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.0
-
None
-
None
-
Unknown
Description
For Apache CXF, the Spring / Spring Boot dependencies are optional at runtime however they are still being brought up transitively. For upcoming 4.0.0 release this is a problem: we would like to stay on JDK-11 as a minimum required baseline but Spring 6 / Spring Boot 3 set the JDK baseline to JDK-17. Because of such misalignment, using Apache CXF with JDK-11 runtime fails with "java.lang.UnsupportedClassVersionError" error, caused by the presence of the Spring 6 / Spring Boot 3 JARs in the classpath.
The Spring / Spring Boot dependencies should be set as optional and when used with Spring 6 / Spring Boot 3, the JDK requirements have to be documented.
Attachments
Issue Links
- links to