Hi team, I'm currently using `org.wiremock.integra...
# wiremock-java
f
Hi team, I'm currently using
org.wiremock.integrations:wiremock-spring-boot:3.10.6
with last spring boot version (3.5.6). I'm a bit curious and trying also Spring Boot 4.0.0-M3 to prepare the migration and I have an error related to wiremock. The error message is saying
Caused by: java.lang.IllegalStateException: java.lang.NoSuchMethodError: 'org.eclipse.jetty.util.component.Environment org.eclipse.jetty.util.component.Environment.ensure(java.lang.String)'
In SB 3.5.6 the dependencies
org.eclipse.jetty.*
are in version
12.0.27
In SB 4.0.0-M3 the dependencies
org.eclipse.jetty.*
are in version
12.1.1
1
This comment is interesting and the fix
Already discussed here
l
Many thanks for posting the links. The Jetty version used within WireMock should be updated as a matter of course but we have a few things to take a look at - https://github.com/wiremock/wiremock/issues/3139