Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoSuchMethodError when verified failed when checking for queryParams #940

Closed
Frantch opened this issue May 22, 2018 · 1 comment

Comments

@Frantch
Copy link

Frantch commented May 22, 2018

Hello,

I get this error when verifying using query params;

java.lang.NoSuchMethodError: com.google.common.collect.FluentIterable.from([Ljava/lang/Object;)Lcom/google/common/collect/FluentIterable

 verify(getRequestedFor(urlPathEqualTo("/v2/test/"))
          .withQueryParam("event", WireMock.containing("hello")));

WireMock 2.1.7

@Frantch Frantch closed this as completed May 22, 2018
@liry
Copy link

liry commented Feb 19, 2020

FYI: one should use wiremock-jre8 if he's on Java8+ and get's this error after update. Or check that guava version is not overridden to different version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants