hibernate :org.hibernate.HibernateException: Unable to get the default Bean Validation factory

hibernate :org.hibernate.HibernateException: Unable to get the default Bean Validation factory

解决办法:

在hibernate.cfg.xml中添加


<property name="javax.persistence.validation.mode">none</property>  

参考 http://blog.csdn.net/huangbiao86/article/details/6594350



你可能感兴趣的:(Hibernate,bean,validation)