how to resolve this error : Caused by: java.lang.N...
# wiremock-java
s
how to resolve this error : Caused by: java.lang.NoClassDefFoundError: com/github/tomakehurst/wiremock/extension/responsetemplating/TemplateEngine
r
Hi - is this in WireMock Studio or in WireMock open source?
If you could give some more context (stack trace, wiremock version, how you're running it) that would be helpful. That class is included in the wiremock jar, so something odd is going on for it not to be found.
s
The above stated issue got fixed, when I change my pom.xml from
Copy code
<artifactId>wiremock</artifactId>
<version>2.27.2</version>
to
Copy code
<artifactId>wiremock-jre8</artifactId>
<version>2.35.0</version>
r
Great!