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] Problems with noarch-installer in 1.5.5 SNAPSHOT (NoClassDefFoundError)
Date Sun, 22 Feb 2009 22:17:08 GMT
Stefan Zoerner wrote:
> Hi all,
>
> I was able to build the server as described here:
>
> http://directory.apache.org/apacheds/1.5/02-building-trunks.html
>
> and the "Starting the server without installation" works as well.
>
> When I build the installers
>
> cd apacheds-trunk
> mvn install
> cd installers/apacheds
> mvn -Pserver-installer install
>
> this also works, but the resulting archives seem to have problems.
> When I unzip the apacheds-1.5.5-SNAPSHOT.zip somewhere and call 
> apacheds.bat, I get ClassNotFounds:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/commons/logging/LogFactory
>         at 
> org.springframework.context.support.AbstractApplicationContext.<init>
> (AbstractApplicationContext.java:146)
We are not supposed to use commons-logging anymore ...
>
> When I add commons-logging by hand (jar-File, 
> apacheds.bat-adjustment), the next Errors deals with a class from 
> apacheds-xdbm-base-1.5.5-SNAPSHOT.jar, apacheds.bat does not contain 
> it in the classpath. After adding that, next thing missing is Bouncy 
> Castle.
Ok, we have to fix this part. Seems like the standard buid does not 
check that we can also build the installers. That's a problem...
>
> It seems that at least the apacheds.bat file is not generated 
> correctly. Perhaps the content in the lib-File is not complete as well.
>
> Or do I miss something?
>
> JIRA?
Yop.

Thanks !

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



Mime
View raw message