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.解决了。


原文地址:https://www.cnblogs.com/tgxblue/p/4217341.html