-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate's Distribution Missing Jars
PostPosted: Thu Sep 21, 2006 6:39 am 
Newbie

Joined: Thu Sep 21, 2006 6:36 am
Posts: 1
Hi,

I am working on developing an application using Spring (1.2.8) along with Hibernate (3.1), and I was getting the two runtime errors shown at the end of the post.

I solved the problems by coping the files "commons-dbcp-1.2.1.jar" and "commons-pool.jar" in Hibernate's distribution directory "lib."

I wanted to know why doesn't the Hibernate's distribution include these files ("commons-dbcp-1.2.1.jar" and "commons-pool.jar") if it is not going to work without them?

Thanks!
Daniel.

--------------- . ---------------
Runtime Error No. 01
--------------- . ---------------

BUILD FAILED
/Users/lynx/Documents/development/billing/build.xml:117: org.springframework.beans.factory.BeanDefinitionSt oreException: Error registering bean with name 'dataSource' defined in class path resource [ApplicationContext.xml]: Bean class [org.apache.commons.dbcp.BasicDataSource] not found; nested exception is java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource

--------------- . ---------------
Runtime Error No. 02
--------------- . ---------------

BUILD FAILED
/Users/lynx/Documents/development/billing/build.xml:117: org.springframework.beans.factory.BeanDefinitionSt oreException: Error registering bean with name 'dataSource' defined in class path resource [ApplicationContext.xml]: Class that bean class [org.apache.commons.dbcp.BasicDataSource] depends on not found; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool

--------------- . ---------------


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 21, 2006 7:21 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
eh ? we don't support nor distribute any DBCP related things for a long time (at least not in H3's lifetime).

So you must be using something non-hibernate provided configuration thus you should go to them and ask ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.