整合ssh时候报错:
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 org.hibernate.HibernateException: Unable to get the default Bean Validation factory
后来通过发现 在hibernate.cfg.xml 加入 <property name="javax.persistence.validation.mode">none</property> 即可