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

Sundar

01/13/2023, 10:58 AM
how to resolve this error : Caused by: java.lang.NoClassDefFoundError: com/github/tomakehurst/wiremock/extension/responsetemplating/TemplateEngine
r

Rob Elliot

01/13/2023, 2:21 PM
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

Sundar

01/17/2023, 12:40 PM
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

Rob Elliot

01/17/2023, 12:55 PM
Great!
6 Views