当我将3.3.2.ga替换为3.6.10.final时,我面临以下问题。我从POM中删除了hibernate注释。因为它被转移到了hibernate-core。
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in ServletContext resource
[/WEB-INF/dao-config.xml]: Invocation of init method failed;
nested exception is java.lang.NoSuchFieldError: STRING