Slackbot
03/11/2024, 3:07 PMDirk Bolte
03/11/2024, 3:18 PMServiceLoader
extension, thus it should be auto detected when it's on the classpath (which should be the case if I interpret your cmdline correctly). Can you start wiremock without --extensions ...
and with --verbose
? The detected extensions should be printed out.
see also: https://github.com/wiremock/wiremock-state-extension#dockervinod p
03/11/2024, 4:18 PMvinod p
03/11/2024, 4:18 PMDirk Bolte
03/11/2024, 6:55 PM./gradlew clean
./gradlew shadowjar
run -it --rm -p 8080:8080 --name wiremock -v $PWD/build/libs:/var/wiremock/extensions wiremock/wiremock -- --global-response-templating --verbose
Locally, I see the extension registered properly:vinod p
03/11/2024, 8:17 PM