org.hibernate.HibernateException: Unable to get the default Bean Validation factory
解决方法:
解决方案:
在hibernate.cfg.xml中配置的时候 需要这个一个属性:
<property name="javax.persistence.validation.mode">none</property>
<property name="javax.persistence.validation.mode">none</property>
转载于:https://www.cnblogs.com/fgfg/p/5785844.html