spring-cloud-contract
spring-cloud-contract copied to clipboard
Update wiremock dependency to be compatible with wiremock-standalone
Describe the bug Getting below error when using latest dependency of wiremock in the project.
java.lang.NoSuchMethodError: 'void com.github.tomakehurst.wiremock.extension.responsetemplating.ResponseTemplateTransformer.<init>(boolean)'
Sample Currently spring-cloud-contract-wiremock is using older wiremock dependency..
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8-standalone</artifactId>
</dependency>
It should be compatible with
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-standalone</artifactId>
</dependency>
@kumarsen26 , did you find work arround for this issue?
@digambar19 I removed the dependency which I have added to the project and use the wiremock-jre8-standalone resolved from spring-cloud-contract
#1933