Emmanuel,
Thanks for all the help so far. I've switched to 2.0.6 of Maven. I initially
had installed that then switched to 2.0.4, now I've switched back.
I'm using the 6.0_01 version of the jdk.
I've attached the log I think you were wanting to see. Let me know if I need to
paste it in rather than attach it.
Thanks,
Dan
-----Original Message-----
From: Emmanuel Lecharny [mailto:[EMAIL PROTECTED]
Sent: Monday, June 04, 2007 11:32 AM
To: [email protected]
Subject: Re: Alternate back-ends
Barber, Dan (Contractor) a écrit :
>As far as building the source. We need to target 1.5 due to it's increased
>support for secure logins. I've been using the instructions from this page,
>http://directory.apache.org/apacheds/1.5/building-trunks.html. It's quite
>possible that I've just simply missed a step or done something silly since
>some of these tools are still new to me.
>
>
>I have installed Maven 2.0.4.
>
>
I think you need maven 2.0.5, now (AFAIK, there are some bugs in 2.0.4
which can cause pbs). 2.0.6 will work too.
Which JVM are you using ?
>I've installed SVN and run the command
>svn co
>http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies/
>apacheds-trunk
>Then, inside the directory apacheds-trunk I run mvn install. Here are the
>errors I'm getting.
>
>Failed tests:
>
> testOneEntryImport(org.apache.directory.server.tools.commands.importcmd.Import
>CommandTest)
>
> testTenEntriesImport(org.apache.directory.server.tools.commands.importcmd.Impo
>rtCommandTest)
>
> testTwoEntriesImportOneOnErrorAndOneOk(org.apache.directory.server.tools.comma
>nds.importcmd.ImportCommandTest)
>
> testOneEntryImportWithEntryAddedNotification(org.apache.directory.server.tools
>.commands.importcmd.ImportCommandTest)
>
> testRFC2849Sample1(org.apache.directory.server.tools.commands.importcmd.Import
>CommandTest)
>
> testRFC2849Sample2(org.apache.directory.server.tools.commands.importcmd.Import
>CommandTest)
>
> testRFC2849Sample3(org.apache.directory.server.tools.commands.importcmd.Import
>CommandTest)
>
> testRFC2849Sample3VariousSpacing(org.apache.directory.server.tools.commands.im
>portcmd.ImportCommandTest)
>
> testExportCommand(org.apache.directory.server.tools.commands.exportcmd.ExportC
>ommandTest)
>
> testOneEntryImport(org.apache.directory.server.tools.commands.gracefulshutdown
>cmd.GracefulShutdownCommandTest)
>
>My guess is I've just missed something simple. Any help you can offer would be
>greatly appreciated.
>
>
It would be interesting to have the surefire logs (it's generated by
maven, with the failing class name followed by a .txt, like
testRFC2849Sample2(org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.txt
somwhere on your disk.
Emmanuel
-------------------------------------------------------------------------------
Test set: org.apache.directory.server.tools.commands.importcmd.ImportCommandTest
-------------------------------------------------------------------------------
Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 0.469 sec <<<
FAILURE!
testOneEntryImport(org.apache.directory.server.tools.commands.importcmd.ImportCommandTest)
Time elapsed: 0.219 sec <<< ERROR!
java.lang.IncompatibleClassChangeError: Class org.apache.log4j.Logger does not
implement the requested interface org.slf4j.Logger
at
org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar.<clinit>(AbstractGrammar.java:48)
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:76)
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:64)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandExecutor.<init>(ImportCommandExecutor.java:113)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testOneEntryImport(ImportCommandTest.java:72)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testOneEntryImport(ImportCommandTest.java:72)
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:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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(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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testTenEntriesImport(org.apache.directory.server.tools.commands.importcmd.ImportCommandTest)
Time elapsed: 0.016 sec <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.directory.shared.ldap.codec.LdapMessageGrammar
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:76)
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:64)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandExecutor.<init>(ImportCommandExecutor.java:113)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testTenEntriesImport(ImportCommandTest.java:151)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testTenEntriesImport(ImportCommandTest.java:151)
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:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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(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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testOneEntryOnErrorImport(org.apache.directory.server.tools.commands.importcmd.ImportCommandTest)
Time elapsed: 0.031 sec <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.directory.shared.ldap.codec.LdapMessageGrammar
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:76)
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:64)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandExecutor.<init>(ImportCommandExecutor.java:113)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testOneEntryOnErrorImport(ImportCommandTest.java:222)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testOneEntryOnErrorImport(ImportCommandTest.java:222)
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:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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(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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testTwoEntriesImportOneOnErrorAndOneOk(org.apache.directory.server.tools.commands.importcmd.ImportCommandTest)
Time elapsed: 0.015 sec <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.directory.shared.ldap.codec.LdapMessageGrammar
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:76)
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:64)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandExecutor.<init>(ImportCommandExecutor.java:113)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testTwoEntriesImportOneOnErrorAndOneOk(ImportCommandTest.java:294)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testTwoEntriesImportOneOnErrorAndOneOk(ImportCommandTest.java:294)
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:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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(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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testOneEntryImportWithEntryAddedNotification(org.apache.directory.server.tools.commands.importcmd.ImportCommandTest)
Time elapsed: 0.016 sec <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.directory.shared.ldap.codec.LdapMessageGrammar
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:76)
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:64)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandExecutor.<init>(ImportCommandExecutor.java:113)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testOneEntryImportWithEntryAddedNotification(ImportCommandTest.java:399)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testOneEntryImportWithEntryAddedNotification(ImportCommandTest.java:399)
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:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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(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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testOneEntryImportWithExceptionNotification(org.apache.directory.server.tools.commands.importcmd.ImportCommandTest)
Time elapsed: 0.031 sec <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.directory.shared.ldap.codec.LdapMessageGrammar
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:76)
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:64)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandExecutor.<init>(ImportCommandExecutor.java:113)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testOneEntryImportWithExceptionNotification(ImportCommandTest.java:470)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testOneEntryImportWithExceptionNotification(ImportCommandTest.java:470)
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:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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(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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testRFC2849Sample1(org.apache.directory.server.tools.commands.importcmd.ImportCommandTest)
Time elapsed: 0.016 sec <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.directory.shared.ldap.codec.LdapMessageGrammar
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:76)
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:64)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandExecutor.<init>(ImportCommandExecutor.java:113)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testRFC2849Sample1(ImportCommandTest.java:535)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testRFC2849Sample1(ImportCommandTest.java:535)
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:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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(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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testRFC2849Sample2(org.apache.directory.server.tools.commands.importcmd.ImportCommandTest)
Time elapsed: 0.016 sec <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.directory.shared.ldap.codec.LdapMessageGrammar
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:76)
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:64)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandExecutor.<init>(ImportCommandExecutor.java:113)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testRFC2849Sample2(ImportCommandTest.java:668)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testRFC2849Sample2(ImportCommandTest.java:668)
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:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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(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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testRFC2849Sample3(org.apache.directory.server.tools.commands.importcmd.ImportCommandTest)
Time elapsed: 0.015 sec <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.directory.shared.ldap.codec.LdapMessageGrammar
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:76)
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:64)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandExecutor.<init>(ImportCommandExecutor.java:113)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testRFC2849Sample3(ImportCommandTest.java:775)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testRFC2849Sample3(ImportCommandTest.java:775)
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:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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(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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testRFC2849Sample3VariousSpacing(org.apache.directory.server.tools.commands.importcmd.ImportCommandTest)
Time elapsed: 0.016 sec <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.directory.shared.ldap.codec.LdapMessageGrammar
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:76)
at
org.apache.directory.shared.ldap.codec.LdapMessageContainer.<init>(LdapMessageContainer.java:64)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandExecutor.<init>(ImportCommandExecutor.java:113)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testRFC2849Sample3VariousSpacing(ImportCommandTest.java:879)
at
org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.testRFC2849Sample3VariousSpacing(ImportCommandTest.java:879)
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:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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(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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)