Hello -

I didn't find anything in the list archives in the past two months on
this, so I apologize if this is FAQ, but new checkout of source with a
manual Maven install of the Java Connector and JTA results in
exceptions during the test phase on Windows running Sun JDK 1.6.0_01
(b06). See below for details. Anyone else seeing this? Any ideas?

It appears to be a JAR compatibility issue within Plexus or a Plexus
version issue. Unfortunately, I know nothing about Plexus. While I
could try to use JDK 5 instead (though I don't know if that would fix
the issue), I'd really much prefer to use JDK 6.

I appreciate any feedback you can provide.

Thanks,

-Jan

-------------------------------------------------------------------------------
Test set: org.apache.maven.archiva.policies.CachedFailuresPolicyTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.031
sec <<< FAILURE!
testIgnored(org.apache.maven.archiva.policies.CachedFailuresPolicyTest)
Time elapsed: 0.031 sec  <<< ERROR!
java.lang.NoSuchMethodError: org.codehaus.plexus.PlexusContainer.initialize()V
        at org.codehaus.plexus.PlexusTestCase.setUp(PlexusTestCase.java:119)
        at junit.framework.TestCase.runBare(TestCase.java:125)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)

Reply via email to