hibernate.cfg.xml出错:The content of element type "property" must match "(meta*,(column|formula)*
在写配置的时候出现这个问题,解决方法:将hibernate-mapping换成hibernate-configuration,并将后面的对应的也换掉。要是在pojo的映射文件中,用hibernate-mapping.解决了。
在写配置的时候出现这个问题,解决方法:将hibernate-mapping换成hibernate-configuration,并将后面的对应的也换掉。要是在pojo的映射文件中,用hibernate-mapping.解决了。
转载于:https://www.cnblogs.com/tgxblue/archive/2013/05/24/4217341.html