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
--------------- . ---------------
|