First, I'm am admittedly new to building CAS and am attempting to upgrade
from CAS 3.2 to 3.4.7. Specifically, I'm building 3.4.7 on a new VM and am
using the maven war overlay method.
When deploying the cas.war file, Tomcat is logging the following:
Caused by: 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]:
Invocation of init method failed; nested exception is
java.lang.IncompatibleClassChangeError: Implementing class
The bean definition from 'deployerConfigContext.xml' is:
<bean id="entityManagerFactory"
class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
<property name="dataSource" ref="dataSource"/>
<property name="jpaVendorAdapter">
<bean
class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
<property name="generateDdl" value="true"/>
<property name="showSql" value="true" />
</bean>
</property>
<property name="jpaProperties">
<props>
<prop
key="hibernate.dialect">org.hibernate.dialect.HSQLDialect</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop>
</props>
</property>
</bean>
I've been searching the forum and web for the last two hours and haven't
found any solutions that would seem to apply, so I'm hoping someone might be
able to help me diagnose my problem further. I suspect I might be missing a
spring dependency. I didn't want to clutter this post by pasting too much
non-relevant configuration, so please let me know if anything else would be
helpful.
Thanks to anyone in advance,
Rob Chevalier
University of Oregon
--
View this message in context:
http://jasig.275507.n4.nabble.com/CAS-3-4-7-and-HSQLDB-Error-creating-entityManagerFactory-bean-tp3606228p3606228.html
Sent from the CAS Users mailing list archive at Nabble.com.
--
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