Hi Team, I had used Wiremock standalone 3.5.4 for ...
# help
s
Hi Team, I had used Wiremock standalone 3.5.4 for creation of stubs for one of the case to have feasibility check and demo purpose. Now I have to take it to tomcat server and make the application up and running and further enhance it. What all are the jar dependencies to make it in WAR for tomcat server. I am trying springboot application too with jdk 21 but facing jar dependencies. Suggestions..
t
Have you tried the jetty12 version of WireMock? Or failing that, standalone?
s
@Tom I have added wiremock-jetty12-3.5.4.jar and wiremock-standalone-3.5.4.jar in classpath as well and was checking with pom.xml too but everytime I am getting some compilation error for 1 or the another package. [ERROR] [1;31m/C/Wiremock/services/services/src/main/java/com/wiremock/controller/ServiceController.java[7,46] package com.github.tomakehurst.wiremock.client does not exist
t
You shouldn’t add both at the same time, just wiremock-jetty12