[
https://issues.apache.org/jira/browse/DIRSERVER-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seelmann reopened DIRSERVER-1006:
----------------------------------------
Hi Chris, thanks for the fix. However now I get another exception, the
jcl104-over-slf4j-1.4.0.jar doesn't contain the LocationAwareLogger class:
[EMAIL PROTECTED]:~/apacheds-1.5.1-SNAPSHOT/bin$ ./apacheds-tools.sh dump -i
/home/stefan/apacheds-1.5.1-SNAPSHOT -p example > test.ldif
Exception in thread "main" java.lang.NoClassDefFoundError:
org/slf4j/spi/LocationAwareLogger
at
org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:156)
at
org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:131)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:204)
at org.springframework.util.ClassUtils.<clinit>(ClassUtils.java:59)
at
org.springframework.core.io.DefaultResourceLoader.<init>(DefaultResourceLoader.java:53)
at
org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:170)
at
org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:163)
at
org.springframework.context.support.AbstractRefreshableApplicationContext.<init>(AbstractRefreshableApplicationContext.java:67)
at
org.springframework.context.support.AbstractXmlApplicationContext.<init>(AbstractXmlApplicationContext.java:49)
at
org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:86)
at
org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:74)
at
org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:65)
at
org.apache.directory.server.tools.commands.dumpcmd.DumpCommandExecutor.processParameters(DumpCommandExecutor.java:381)
at
org.apache.directory.server.tools.commands.dumpcmd.DumpCommandExecutor.execute(DumpCommandExecutor.java:153)
at
org.apache.directory.server.tools.commands.dumpcmd.DumpCommandExecutorSkeleton.execute(DumpCommandExecutorSkeleton.java:36)
at
org.apache.directory.server.tools.commands.dumpcmd.DumpCommandExecutorStub.execute(DumpCommandExecutorStub.java:36)
at
org.apache.directory.server.tools.request.BaseToolCommandCL.execute(BaseToolCommandCL.java:67)
at
org.apache.directory.server.tools.ApachedsTools.main(ApachedsTools.java:122)
> apacheds-tools.jar still using commons-logging in classpath
> -----------------------------------------------------------
>
> Key: DIRSERVER-1006
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1006
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: tools
> Affects Versions: 1.5.1
> Reporter: Chris Custine
> Assignee: Chris Custine
> Fix For: 1.5.1
>
>
> The apacheds-tools jar file has a static reference to commons-logging in the
> manifest so it fails with a ClassDefNotFound exception since we switched to
> jcl104-over-slf4j.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.