Skip to content

Build failing with NoSuchMethodError #7888

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

Closed
eleftherias opened this issue Feb 3, 2020 · 0 comments
Closed

Build failing with NoSuchMethodError #7888

eleftherias opened this issue Feb 3, 2020 · 0 comments
Assignees
Labels
in: build An issue in the build type: bug A general bug
Milestone

Comments

@eleftherias
Copy link
Contributor

> Task :spring-security-samples-boot-webflux-form:integrationTest

sample.WebfluxFormApplicationTests > loginAndLogout FAILED

    java.lang.NoSuchMethodError at WebfluxFormApplicationTests.java:77

sample.WebfluxFormApplicationTests > loginWhenInvalidUsernameThenError FAILED

    java.lang.NoSuchMethodError at WebfluxFormApplicationTests.java:59

This happens because org.seleniumhq.selenium:htmlunit-driver:2.37.0 uses a method which is available as of net.sourceforge.htmlunit:htmlunit:2.37.0.

However, this dependency is managed by Spring Boot, which provides net.sourceforge.htmlunit:htmlunit:2.36.0.

@eleftherias eleftherias added in: build An issue in the build type: bug A general bug labels Feb 3, 2020
@eleftherias eleftherias self-assigned this Feb 3, 2020
@eleftherias eleftherias added this to the 5.3.0.RC1 milestone Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: build An issue in the build type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant