directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: [ApacheDS] Problem when building the trunk (ApacheDS Extra Schemas)
Date Fri, 20 Feb 2009 21:28:20 GMT
Stefan Zoerner wrote:
> Hi all,
>
> when I try to build the trunk of ApacheDS, one of the tests in 
> "ApacheDS Extra Schemas" fails.
>
> I use this to build
>
> $ mvn -version
> Maven version: 2.0.9
> Java version: 1.6.0_10
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> $
Strange. I just tried a mvn -Dintegration test, and it works for me.
mvn -version
Maven version: 2.0.9
Java version: 1.6.0_10
OS name: "linux" version: "2.6.24-23-generic" arch: "i386" Family: "unix"

Have your tried to doom your .m2/repository ?

>
> Error message goes like this (below).
> Any ideas? Thanks in advance,
>    Stefan
>
>
> ------------------------------------------------------------------------------- 
>
> Test set: 
> org.apache.directory.server.schema.bootstrap.ExtraSchemaLoadTest
> ------------------------------------------------------------------------------- 
>
> Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.859 
> sec <<< FAILURE!
> testReferentialIntegrity(org.apache.directory.server.schema.bootstrap.ExtraSchemaLoadTest)

>  Time elapsed: 0.047 sec  <<< ERROR!
> java.lang.NoSuchMethodError: 
> org.apache.directory.shared.ldap.schema.Syntax.getSyntaxChecker()Lorg/apache/directory/shared/ldap/schema/syntax/SyntaxChecker;

>
>     at 
> org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:229)

>
>     at 
> org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:283)

>
>     at 
> org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:326)

>
>     at 
> org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:470)

>
>     at 
> org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:434)

>
>     at 
> org.apache.directory.server.schema.registries.DefaultRegistries.checkRefInteg(DefaultRegistries.java:185)

>
>     at 
> org.apache.directory.server.schema.bootstrap.ExtraSchemaLoadTest.testReferentialIntegrity(ExtraSchemaLoadTest.java:272)

>
>     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 junit.framework.TestCase.runTest(TestCase.java:168)
>     at junit.framework.TestCase.runBare(TestCase.java:134)
>     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.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) 
>
>     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:345)

>
>     at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) 
>
>
>
>


-- 
--
cordialement, regards,
Emmanuel L├ęcharny
www.iktek.com
directory.apache.org



Mime
View raw message