This message was deleted.
# help
s
This message was deleted.
t
In 3.x the main class has changed (to make this use case a bit simpler). Instead of
com.github.tomakehurst.wiremock.standalone.WireMockServerRunner
use
wiremock.Run
m
Thank you for the reply. Now I ran the below command :`java -cp "wiremock-standalone-3.3.1.jar" wiremock.Run --extensions com.company.wiremock.extensions.DynamicResponseTransformer` Exception in thread "main" java.lang.ClassNotFoundException: com.emirates.wiremock.extensions.DynamicResponseTransformer at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521). Seems not identifying the class, class path is correct only
t
You still need to put the extension onto the classpath somehow. Perhaps if you restore src/ to the -cp expression like you did previously it’ll work.
m
It is working now.. thank you
👍 1
489 Views