java.lang.NoSuchMethodError: org.apache.maven.execution.MavenExecutionRequest.setTransferListener(Lorg/eclipse/aether/transfer/TransferListener;)Lorg/apache/maven/execution/MavenExecutionRequest;

maven-users | Michael | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NoSuchMethodError during unit testing

    maven-users | 1 year ago | Michael
    java.lang.NoSuchMethodError: org.apache.maven.execution.MavenExecutionRequest.setTransferListener(Lorg/eclipse/aether/transfer/TransferListener;)Lorg/apache/maven/execution/MavenExecutionRequest;
  2. 0

    NoSuchMethodError during unit testing

    maven-users | 1 year ago | Michael
    java.lang.NoSuchMethodError: org.apache.maven.execution.MavenExecutionRequest.setTransferListener(Lorg/eclipse/aether/transfer/TransferListener;)Lorg/apache/maven/execution/MavenExecutionRequest;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.maven.execution.MavenExecutionRequest.setTransferListener(Lorg/eclipse/aether/transfer/TransferListener;)Lorg/apache/maven/execution/MavenExecutionRequest;

      at hudson.maven.MavenEmbedder.buildMavenExecutionRequest()
    2. Hudson Maven Embedder
      MavenUtil.createEmbedder
      1. hudson.maven.MavenEmbedder.buildMavenExecutionRequest(MavenEmbedder.java:173)
      2. hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:120)
      3. hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:109)
      4. hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:136)
      5. hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:212)
      6. hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:134)
      7. hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:127)
      8. hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:123)
      8 frames
    3. Hudson :: Test Framework
      HudsonTestCase.setUp
      1. org.jvnet.hudson.test.HudsonTestCase$7.decorateHome(HudsonTestCase.java:1451)
      2. org.jvnet.hudson.test.HudsonTestCase.newHudson(HudsonTestCase.java:473)
      3. org.jvnet.hudson.test.HudsonTestCase.setUp(HudsonTestCase.java:315)
      3 frames
    4. Hudson GIT plugin
      AbstractGitTestCase.setUp
      1. hudson.plugins.git.AbstractGitTestCase.setUp(AbstractGitTestCase.java:67)
      1 frame
    5. JUnit
      TestCase.runBare
      1. junit.framework.TestCase.runBare(TestCase.java:139)
      1 frame
    6. Hudson :: Test Framework
      HudsonTestCase.runBare
      1. org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:293)
      1 frame
    7. JUnit
      JUnit38ClassRunner.run
      1. junit.framework.TestResult$1.protect(TestResult.java:122)
      2. junit.framework.TestResult.runProtected(TestResult.java:142)
      3. junit.framework.TestResult.run(TestResult.java:125)
      4. junit.framework.TestCase.run(TestCase.java:129)
      5. junit.framework.TestSuite.runTest(TestSuite.java:252)
      6. junit.framework.TestSuite.run(TestSuite.java:247)
      7. org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
      7 frames
    8. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      4. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
      4 frames
    9. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
      2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
      3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      3 frames