cancel
Showing results for 
Search instead for 
Did you mean: 

sdk1.4 problem

anilmekala
Champ in-the-making
Champ in-the-making
Hello every body,
I have a problem with SDK 1.4, when I execute the FirstFoundationClient.java it appears to me the following ERROR:

Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'dataSource' defined in class path resource [alfresco/core-services-context.xml]: Bean class [org.apache.commons.dbcp.BasicDataSource] not found; nested exception is java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource
java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource


can u please tell me how can i rectify the above error.


with regards,

Anil.M
2 REPLIES 2

anilmekala
Champ in-the-making
Champ in-the-making
Hello every body,
I have a problem with SDK 1.4, when I execute the FirstFoundationClient.java it appears to me the following ERROR:

Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'dataSource' defined in class path resource [alfresco/core-services-context.xml]: Bean class [org.apache.commons.dbcp.BasicDataSource] not found; nested exception is java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource
java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource


can u please tell me how can i rectify the above Exception.


with regards,

Anil.M

duboiph
Champ in-the-making
Champ in-the-making
I think you should try to add commons-dbcp-1.2.1.jar and commons-pool-1.3.jar in your execussion classpath.

You can download those files from the apache site.