org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFacto

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.hibernate.cfg.annotations.reflection.XMLContext$Default.getDelimitedIdentifier()Ljava/lang/Boolean;

检查之后发现sessionFactory中,所对应的hbm.xml文件丢失

你可能感兴趣的:(spring异常处理)