Hi All, I am facing issue with using wire mock 2.3...
# help
n
Hi All, I am facing issue with using wire mock 2.35.0 with spring boot version 3. The error is due to mismatch version of jetty jars. Is it a known issue? Any workaround?
o
Hello. Which WireMock artifact do you depend on?
n
Jetty server jar 11.0.13
Wiremock version is 2.33.2
Java version is 17
This is the msg in logs ———- Action: Correct the classpath of your application so that it contains compatible versions of the classes com. gi -hub. tomakehurst. wiremock. jetty9. JettyHttpServer and org. eclipse.jetty. server. NetworkTrafficserverConnector ————-
I am trying to use the embedded Wiremock but it seems the issue is with Wiremock as it is not compatible with jetty 11.
o
For Java 17 yes, Jetty 9 will not work, because it does notsupport it. I recommend you try the same with WireMock 3 beta which uses Jetty 11
n
Thanks… yes I saw a comment and fix from Tomakehurst…. It worked