您的位置:首页 > 编程语言 > Java开发

严重: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error cre

2015-09-07 20:16 746 查看
严重: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file 
[F:\eclipse\ambow\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\PWMIS\WEB-INF\classes\applicationContext.xml]: 
Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not determine type for: java.util.Set, 
at table: role, for columns: [org.hibernate.mapping.Column(rights)]

解决:注解要写在统一的位置,不要一些在 private ,一些在get方法
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: