--- On Fri, 10/14/11, Emmanuel Lecharny <elecha...@gmail.com> wrote:

> From: Emmanuel Lecharny <elecha...@gmail.com>
> Subject: Re: Upgrading to apacheds-service-2.0.0-M3.jar - 
> ClassNotFoundException
> To: users@directory.apache.org
> Date: Friday, October 14, 2011, 9:06 AM
> On 10/14/11 2:43 PM, Harakiri wrote:
> > Hello,
> > 
> > im trying to port my custom partition from 1.5.x to
> 2.0.0-M3.
> > 
> > Im getting a ClassNotFoundException when using
> > 
> > schemaManager.loadAllEnabled();
> > 
> > lang.ClassNotFoundException:
> org.apache.directory.shared.ldap.schema.comparators.IntegerOrderingComparator
> 
> I think we have removed this (useless) class. Use the
> IndexComparator instead;
> 
> The rational is that when comparing integers, there is no
> need of two function, one to compare if the integers are
> equal, and an other one to tell if an integer is lower or
> higher than another one : this can be done by one single
> class, returning -1, 0 or 1 depending on the integers.
> 

I think you dont understand - your own code is calling 
IntegerOrderingComparator but it doesnt exist! i dont call it - i only call 
loadAllEnabled - the jar references a class which does not exist in the jar!

Reply via email to