java.lang.Error: Unresolved compilation problem: The method getLogger() of type SurefireArchiverUnitTest.NullBuildListener must override a superclass method

Jenkins JIRA | Andrew Melo | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Hi, When trying to build jenkins, I get the following Running hudson.maven.reporters.SurefireArchiverUnitTest java.lang.Error: Unresolved compilation problem: The method getLogger() of type SurefireArchiverUnitTest.NullBuildListener must override a superclass method at hudson.maven.reporters.SurefireArchiverUnitTest$NullBuildListener.getLogger(SurefireArchiverUnitTest.java:302) at hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:108) at hudson.maven.reporters.SurefireArchiverUnitTest$ArchiverThread.run(SurefireArchiverUnitTest.java:197) Tests run: 4, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 0.373 sec <<< FAILURE! Results : Failed tests: testMultiThreaded(hudson.maven.reporters.SurefireArchiverUnitTest): java.lang.Error: Unresolved compilation problem: Tests in error: testNotArchivingEmptyResults(hudson.maven.reporters.SurefireArchiverUnitTest): Unresolved compilation problem: testArchiveResults(hudson.maven.reporters.SurefireArchiverUnitTest): Unresolved compilation problem: testAlreadyCheckedFilesAreNotParsedAgain(hudson.maven.reporters.SurefireArchiverUnitTest): Unresolved compilation problem: Tests run: 7, Failures: 1, Errors: 3, Skipped: 0 Interestingly, I'm build this with the following command (which is supposed to disable tests) mvn -Dskip-test-harness install Thanks, Andrew

    Jenkins JIRA | 5 years ago | Andrew Melo
    java.lang.Error: Unresolved compilation problem: The method getLogger() of type SurefireArchiverUnitTest.NullBuildListener must override a superclass method
  2. 0

    Hi, When trying to build jenkins, I get the following Running hudson.maven.reporters.SurefireArchiverUnitTest java.lang.Error: Unresolved compilation problem: The method getLogger() of type SurefireArchiverUnitTest.NullBuildListener must override a superclass method at hudson.maven.reporters.SurefireArchiverUnitTest$NullBuildListener.getLogger(SurefireArchiverUnitTest.java:302) at hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:108) at hudson.maven.reporters.SurefireArchiverUnitTest$ArchiverThread.run(SurefireArchiverUnitTest.java:197) Tests run: 4, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 0.373 sec <<< FAILURE! Results : Failed tests: testMultiThreaded(hudson.maven.reporters.SurefireArchiverUnitTest): java.lang.Error: Unresolved compilation problem: Tests in error: testNotArchivingEmptyResults(hudson.maven.reporters.SurefireArchiverUnitTest): Unresolved compilation problem: testArchiveResults(hudson.maven.reporters.SurefireArchiverUnitTest): Unresolved compilation problem: testAlreadyCheckedFilesAreNotParsedAgain(hudson.maven.reporters.SurefireArchiverUnitTest): Unresolved compilation problem: Tests run: 7, Failures: 1, Errors: 3, Skipped: 0 Interestingly, I'm build this with the following command (which is supposed to disable tests) mvn -Dskip-test-harness install Thanks, Andrew

    Jenkins JIRA | 5 years ago | Andrew Melo
    java.lang.Error: Unresolved compilation problem: The method getLogger() of type SurefireArchiverUnitTest.NullBuildListener must override a superclass method

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problem: The method getLogger() of type SurefireArchiverUnitTest.NullBuildListener must override a superclass method

      at hudson.maven.reporters.SurefireArchiverUnitTest$NullBuildListener.getLogger()
    2. Legacy Maven 2 job type Plugin
      SurefireArchiverUnitTest$ArchiverThread.run
      1. hudson.maven.reporters.SurefireArchiverUnitTest$NullBuildListener.getLogger(SurefireArchiverUnitTest.java:302)
      2. hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:108)
      3. hudson.maven.reporters.SurefireArchiverUnitTest$ArchiverThread.run(SurefireArchiverUnitTest.java:197)
      3 frames