> org.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.springframework.beans.factory.CannotLoadBeanClassException: Cannot find > class [org.apache.commons.dbcp.BasicDataSource] for bean with name > 'dataSource' defined in ServletContext resource
Looks like you've defined a pooled data source using Apache commons-dbcp, but haven't included that dependency in your deployable. If you're using https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method, then it should be as simple as the following: <dependency> <groupId>commons-dbcp</groupId> <artifactId>commons-dbcp</artifactId> <version>1.4</version> </dependency> M -- 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
