您的位置:首页 > 其它

整合ssh时候报 Unable to get the default Bean Validation factory

2014-06-25 23:44 344 查看
整合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> 即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐