This is odd.

A NoClassDefFoundError means that the class named in the exception
message *could* be found, but that something it depends on could not.
Unfortunately, java never tells you *what* that something is.

So in this case, Asaf *has* got commons-collections but doesn't have
something that CursorableLinkedList requires.

But commons-collections doesn't *have* any dependencies. It just uses
classes provided by java 1.2. 

Asaf: you're not trying to run this on java 1.1 are you?
Or maybe you have multiple copies of commons-collections in your
classpath which are at different versions?

Regards,

Simon




On Mon, 2006-01-16 at 20:04 -0500, Sandy McArthur wrote:
> The package of the missing class should be a big clue.
> 
> org.apache.commons.collections.CursorableLinkedList
> 
> hrm, Commons Collections looks to be relevant.
> 
> Also, the download page for Commons Pools gives a big hint too:
> http://jakarta.apache.org/commons/pool/downloads.html
> 
> On 1/16/06, Asaf Lahav <[EMAIL PROTECTED]> wrote:
> > I'm testing the apache generic object pool and I'm getting an exception 
> > which is as follows:
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError: 
> > org/apache/commons/collections/CursorableLinkedList
> >
> > I guess I am probably missing dependencies.
> >
> > Would appreciate any help.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to