Skip to content

Build failing with NoSuchMethodError #7888

Closed
@eleftherias

Description

@eleftherias
> 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions