-
Bug
-
Resolution: Cannot Reproduce
-
Blocker
-
None
-
Platform: Macintosh, OS: All
HudsonTestCase is no longer functioning for me. All tests fail with:
java.lang.NoClassDefFoundError: org/codehaus/plexus/embed/Embedder at hudson.maven.MavenEmbedder.start(MavenEmbedder.java:658) at org.jvnet.hudson.test.HudsonTestCase$3.decorateHome(HudsonTestCase.java:739) at org.jvnet.hudson.test.HudsonTestCase.newHudson(HudsonTestCase.java:276) at org.jvnet.hudson.test.HudsonTestCase.setUp(HudsonTestCase.java:201) at hudson.plugins.buggame.goals.BuildGoalTest.setUp(BuildGoalTest.java:37) at junit.framework.TestCase.runBare(TestCase.java:132) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997) Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.embed.Embedder at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:319) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330) at java.lang.ClassLoader.loadClass(ClassLoader.java:254) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399) ... 23 more
This seems to have occurred this week. Deleting plexus JARs from the Maven Repo
has no effect. There's a dependency missing here. I believe that it's in
plexus-utils, but adding my own plexus-utils dependency ends up with the bug
reported to the mailing list
<http://osdir.com/ml/java.hudson.devel/2008-06/msg00226.html>.
This is a blocker for me to continue development of any of my Hudson plugins.