juit测试中报错:org.hibernate.HibernateException: Unable to get the default Bean Validation factory

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

解决方法:

解决方案:

在hibernate.cfg.xml中配置的时候 需要这个一个属性:

none

posted @ 2016-08-18 22:56  大麦茶fg  阅读(361)  评论(0)    收藏  举报