directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Zoerner (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1487) apacheds-all-1.5.6.jar does not contain Commons IO, causes NoClassDefFoundError when used
Date Thu, 25 Mar 2010 22:29:27 GMT
apacheds-all-1.5.6.jar does not contain Commons IO, causes NoClassDefFoundError when used
-----------------------------------------------------------------------------------------

                 Key: DIRSERVER-1487
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1487
             Project: Directory ApacheDS
          Issue Type: Bug
            Reporter: Stefan Zoerner
            Priority: Minor


If I use DefaultDirectoryServiceFactory from the apacheds-all-1.5.6.jar (fetch by Maven),
I get a NoClassDefFoundError:

java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
	at org.apache.directory.server.core.factory.DefaultDirectoryServiceFactory.build(DefaultDirectoryServiceFactory.java:189)
	at org.apache.directory.server.core.factory.DefaultDirectoryServiceFactory.init(DefaultDirectoryServiceFactory.java:89)
	at ...

Commons IO is missing in the jar which is supposed to be complete. Adding commons-io-1.4.jar
to the classpath solves the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message