You haven't included the Commons DBCP as a dependency in your pom.xml

On Fri, May 7, 2010 at 3:30 PM, McKennon, Robert
<[email protected]>wrote:

>  While I’m getting closer to getting this setup,  I have ran across this
> error.  Am I missing a jar file or something obvious?
>
>
>
> I received this error when trying to start the CAS server from the tomcat
> manager.
>
>
>
> 2010-05-07 15:05:41,240 ERROR
> [org.springframework.web.context.ContextLoader] - <Context initialization
> failed>
>
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'servicesManager' defined in ServletContext resource
> [/WEB-INF/spri
>
> ng-configuration/applicationContext.xml]: Cannot resolve reference to bean
> 'serviceRegistryDao' while setting constructor argument; nested exception is
> or
>
> g.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'serviceRegistryDao' defined in ServletContext resource
> [/WEB-INF/dep
>
> loyerConfigContext.xml]: Cannot resolve reference to bean
> 'entityManagerFactory' while setting bean property 'entityManagerFactory';
> nested exception is o
>
> rg.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'entityManagerFactory' defined in ServletContext resource
> [/WEB-INF/
>
> deployerConfigContext.xml]: Cannot resolve reference to bean 'dataSource'
> while setting bean property 'dataSource'; nested exception is
> org.springframewor
>
> k.beans.factory.CannotLoadBeanClassException: Cannot find class
> [org.apache.commons.dbcp.BasicDataSource] for bean with name 'dataSource'
> defined in Servl
>
> etContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception
> is java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource
>
>         at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
>
>         at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
>
>
>
>
>
> v/r,
>
>
>
> Rob Mckennon
>
>
>
>
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to