https://linen.dev logo
#wiremock-java
Title
# wiremock-java
g

goku sun

10/26/2023, 3:22 AM
then i wanna use it without starting a standalone jar. is this ok? can new mockserver().start() in my project automatically start the server for using? if you know... please tell me... thanks
o

Oleg Nenashev

10/26/2023, 5:14 AM
g

goku sun

10/26/2023, 5:47 AM
thanks! I'll try it. hope it works
sorry, it does not work...
image.png
Do i need to launch the WireMock.jar? I want wiremock join my project without launch.
o

Oleg Nenashev

10/26/2023, 7:00 AM
You cannot just use static methods without prior configuration https://wiremock.org/docs/java-usage/#configuring-for-static-calls
g

goku sun

10/26/2023, 7:14 AM
thanks! now i know how to use! I will learn Eng more hard!
o

Oleg Nenashev

10/26/2023, 8:17 AM
OK, happy to help