kosam

任重道远 毋忘奋斗

导航

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

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

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


posted on 2013-05-24 16:30  kosam  阅读(276)  评论(0编辑  收藏  举报