[ https://issues.apache.org/jira/browse/CXF-8791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andriy Redko updated CXF-8791: ------------------------------ 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. was: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 causes "java.lang.UnsupportedClassVersionError" because of the presence of the Spring 6 / Spring Boot 3 JARs in the classpath. > Make the Spring / Spring Boot dependencies optional > --------------------------------------------------- > > Key: CXF-8791 > URL: https://issues.apache.org/jira/browse/CXF-8791 > Project: CXF > Issue Type: Sub-task > Reporter: Andriy Redko > Priority: Major > Fix For: 4.0.0 > > > 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)