Eureka problems in 2.x branch due to jakarta dependencies and versions requirements
aureamunoz opened this issue · comments
Aurea Muñoz Hernández commented
We have two problems due to the migration to the Spring 6 with Jakarta dependencies:
1- Eureka tests are failing with following error (atm we skip tests in Eureka module to make CI pass)
va.lang.NoClassDefFoundError: Could not initialize class org.glassfish.jersey.server.internal.inject.FormParamValueParamProvider$MultipartFormParamValueProvider
at org.glassfish.jersey.server.internal.inject.FormParamValueParamProvider.<init>(FormParamValueParamProvider.java:82) ~[jersey-server-3.1.0.jar:na]
at org.glassfish.jersey.server.internal.inject.ValueParamProviderConfigurator.init(ValueParamProviderConfigurator.java:90) ~[jersey-server-3.1.0.jar:na]
at org.glassfish.jersey.server.Applicat
2- Given that Spring 6 requires Java 17, the build is broken when we use java 11 (atm we skip eureka build for java 11 in order to make the CI pass)
One solution would be to launch the Eureka server within a container in order to not need the Spring 6 dependencies
Clement Escoffier commented
Fixed with #486