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.解决了。相关文章推荐
- hibernate.cfg.xml出错:The content of element type "property" must match "(meta*,(column|formula)*
- hibernate:newclass.hbm.xml文件错误(the content of element type "class" must match "(meta*,column*,type?generator?...)
- hibernate The content of element type "session-factory" must match "(property*,mapping*,(class-cache
- The content of element type "hibernate-mapping" must match "(meta*,typedef*,import*,(class|subclass|
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collectio
- The content of element type "hibernate-configuration" must match "(session-factory,security?)
- The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,comment?,tupli
- xml之解决The content of element type "web-app" must match "(icon?,display......方案
- web.xml The content of element type "web-app" must match "
- Hibernate配置文件错误提示,The content of element type "list" must match "(meta*,subselect?,cache?,synchroniz
- Hibernate配置文件报错:The content of element type "session-factory" must match "(property*,mapping*,(c
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache| collect
- struts.xml错误提示:The content of element type "package" must match "(result-types?,interceptors?,defaul
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collectio
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache| collect
- org.xml.sax.SAXParseException The content of element type "package" must match "(result-types?,inter
- The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,comment?,tupli
- "org.xml.sax.SAXParseException: The content of element type "class" must match" 异常解决
- arse Error at line 58 column 17: The content of element type "struts-config" must match "(display-na
- struts2---The content of element type "package" must match "(result-types?,interceptors?,default-int