您的位置:首页 > 运维架构

hibernate.cfg.xml出错:The content of element type "property" must match "(meta*,(column|formula)*

2013-05-24 16:30 597 查看

hibernate.cfg.xml出错:The content of element type "property" must match "(meta*,(column|formula)*

在写配置的时候出现这个问题,解决方法:将hibernate-mapping换成hibernate-configuration,并将后面的对应的也换掉。要是在pojo的映射文件中,用hibernate-mapping.解决了。

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐