>>> nested exception is java.lang.NoClassDefFoundError: org/hibernate/ejb/ HibernatePersistence
You appear to not have Hibernate in your dependency list. Cheers, Scott On Wed, Jan 4, 2012 at 7:05 AM, Geo PC <[email protected]> wrote: > We are trying to pass ldap attributes and roles through CAS. > > We have a CAS server in which LDAP users can login applications as SSO > with CAS. Now we need to pass ldap attributes and roles through CAS. > So we edited current deployerConfigContext.xml and cas.properties as shown > in the urls: > > https://wiki.jasig.org/display/CASUM/Configuring > http://bowerstudios.com/node/645 > http://isolasoftware.it/2011/07/21/cas-active-directory-ldap-attributes/ > > Now CAS login page is not loading and we are getting the error as follows: > > --------------------------- > SEVERE: Exception starting filter characterEncodingFilter > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'servicesManager' defined in ServletContext resource > [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve > reference to bean 'serviceRegistryDao' while setting constructor argument; > nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'serviceRegistryDao' defined in ServletContext resource > [/WEB-INF/deployerConfigContext.xml]: Cannot resolve reference to bean > 'entityManagerFactory' while setting bean property 'entityManagerFactory'; > nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'entityManagerFactory' defined in ServletContext resource > [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean > 'org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter#2850a492' of > type [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] while > setting bean property 'jpaVendorAdapter'; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name > 'org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter#2850a492' > defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: > Instantiation of bean failed; nested exception is > org.springframework.beans.BeanInstantiationException: Could not instantiate > bean class [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter]: > Constructor threw exception; nested exception is > java.lang.NoClassDefFoundError: org/hibernate/ejb/HibernatePersistence > --------------------- > > Please see my attached deployerConfigContext.xml and let me know if you > need any other configuration files. > > Can anyone please help me on this. > > Thanks > Geo > -- > 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
