You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Dirk Verbeeck <di...@pandora.be> on 2005/01/25 21:56:59 UTC
Re: [dbcp] Bug or incompatibility?
Hi Stefan,
> 1. question: is collections needed to work with dbcp and pool?
Yes, version 2.1 or higher.
> 2. question: is the above a bug or an incompatibility?
A binary incompatibility maybe.
I just checked and commons-collections-3.1 and it still has the
required classes. (commons-pools compiles)
Where did you get all your jars? (zip/tar.gz download, from
maven/ibiblio, build by yourself?)
-- Dirk
Stefan Burkard wrote:
> hi commons-users
>
> i just started an eclipse-project in which i use commons-dbcp, and pool
> to establish a db-connection-pool. by the way i use jTDS as driver for
> mssqlserver.
>
> if i run my code i get a java.lang.NoClassDefFoundError:
> org/apache/commons/collections/CursorableLinkedList
>
> when i add the actual commons-collections-3.1 to my lib-dir i get the
> same error. if i take the collections-jar from tomcat 5, the error is gone.
>
> 1. question: is collections needed to work with dbcp and pool?
> 2. question: is the above a bug or an incompatibility?
>
> greetings
> stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: [dbcp] Bug or incompatibility?
Posted by Stefan Burkard <ne...@burknet.ch>.
hi dirk
i get all the jars (dbcp, collections, pool) from the binary release
page of apache commons. i took the older collections from the tomcat-5-jars
according to stephens answer, the class
"org/apache/commons/collections/CursorableLinkedList" will be deprecated
in future collections-releases.
perhaps there is an eclipse-setting that ignores deprecated classes in jars?
but well, if this happens, how can we then use dbcp and pool which need
this class???
greetings
stefan
Dirk Verbeeck wrote:
> Hi Stefan,
>
> > 1. question: is collections needed to work with dbcp and pool?
> Yes, version 2.1 or higher.
>
> > 2. question: is the above a bug or an incompatibility?
> A binary incompatibility maybe.
>
> I just checked and commons-collections-3.1 and it still has the required
> classes. (commons-pools compiles)
>
> Where did you get all your jars? (zip/tar.gz download, from
> maven/ibiblio, build by yourself?)
>
> -- Dirk
>
> Stefan Burkard wrote:
>
>> hi commons-users
>>
>> i just started an eclipse-project in which i use commons-dbcp, and
>> pool to establish a db-connection-pool. by the way i use jTDS as
>> driver for mssqlserver.
>>
>> if i run my code i get a java.lang.NoClassDefFoundError:
>> org/apache/commons/collections/CursorableLinkedList
>>
>> when i add the actual commons-collections-3.1 to my lib-dir i get the
>> same error. if i take the collections-jar from tomcat 5, the error is
>> gone.
>>
>> 1. question: is collections needed to work with dbcp and pool?
>> 2. question: is the above a bug or an incompatibility?
>>
>> greetings
>> stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org