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

NoSuchMethodError `ProviderParameters.getConsoleLogger()` with surefire 2.20.1 #218

Closed
dipak-pawar opened this Issue Oct 10, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@dipak-pawar
Contributor

dipak-pawar commented Oct 10, 2017

Issue Overview

If you are trying to run test with surefire version 2.20.1 with current master, it throwing exception without running tests.

It runs fine with surefire 2.19.1

Expected Behavior

Test should run fine with Smart testing enabled.

Current Behavior

Getting exception as

org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
[ERROR] java.lang.NoSuchMethodError: org.apache.maven.surefire.providerapi.ProviderParameters.getConsoleLogger()Lorg/apache/maven/surefire/report/ConsoleLogger;
Steps To Reproduce
  1. Clone https://github.com/dipak-pawar/configuration-file-demo
  2. Install Smart testing snapshot with latest master using mvn clean install -DskipTests from smart testing code base
  3. Execute mvn clean test
Additional Information
 Apache Maven 3.3.9 (NON-CANONICAL_2016-04-07T23:15:34Z_mockbuild; 2016-04-08T04:45:34+05:30)
Maven home: /usr/share/maven
Java version: 1.8.0_101, vendor: Oracle Corporation
Java home: /opt/jdk1.8.0_101/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.7.9-200.fc24.x86_64", arch: "amd64", family: "unix"
</details>
@dipak-pawar

This comment has been minimized.

Show comment
Hide comment
@dipak-pawar

dipak-pawar Oct 10, 2017

Contributor

I am not sure if this has something to do with #201

Contributor

dipak-pawar commented Oct 10, 2017

I am not sure if this has something to do with #201

@hemanik

This comment has been minimized.

Show comment
Hide comment
@hemanik

hemanik Oct 10, 2017

Contributor

Yes @dipak-pawar , It's related to #201.

Contributor

hemanik commented Oct 10, 2017

Yes @dipak-pawar , It's related to #201.

@MatousJobanek

This comment has been minimized.

Show comment
Hide comment
@MatousJobanek

MatousJobanek Oct 10, 2017

Contributor

yeah, it is the same issue, so I'm closing this as a duplication of #201

Contributor

MatousJobanek commented Oct 10, 2017

yeah, it is the same issue, so I'm closing this as a duplication of #201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment