This message was deleted.
# help
s
This message was deleted.
o
Hi! First of all, why don't you use https://github.com/maciejwalkowiak/wiremock-spring-boot in such a case? Secondly
Could not initialize class com.github.tomakehurst.wiremock.jetty9.JettyHttpServerFactory
definitely comes from WireMock 2.x and not 3.x
wiremock-spring-boot is built for Spring Boot 3
j
1. I'll take a look at that. Didn't know it was available. 2. I wonder if I missed updating my dependencies before re-running the tests. Anyway, thanks.
o
FWIW the 3.0.0 release is out there, silent launch https://github.com/wiremock/wiremock/releases/tag/3.0.0
šŸ‘€ 1
j
@Oleg Nenashev thanks for the help! Using wiremock-spring-boot instead made the migration much easier.
šŸ‘ 1
o
Thanks for the feedback! I will make sure to document it after all
@Jason Anderson I updated the description manually and created https://github.com/wiremock/wiremock-docker/issues/77 for fixing automation
j
Sure thing. To be clear, I was able to remove these two test dependencies: •
com.github.tomakehurst:wiremock-standalone:2.27.2
•
de.mkammerer.wiremock-junit5:wiremock-junit5:1.1.0
with
com.maciejwalkowiak.spring:wiremock-spring-boot:1.0.1
. I did have to make some changes in test code such as: •
@EnableWireMock
paired with
@ConfigureWireMock
• Replacing
@RegisterExtension
with
@InjetWireMock
But that was about it.
o
WireMock JUnit 5 it should not be required anymore. WireMock has JUnit 5 support since long ago
šŸ‘ 1