网页学习体会

  • 首页
  • 个人博客
您的位置: 首页  >  IT文章  >  The content of element type must match解决方法

The content of element type must match解决方法

分类: IT文章 • 2022-06-12 10:03:30

当我在mybatis的核心配置文件SqlMapConfig.xml中配置别名的时候,老是提示错误。

The content of element type must match解决方法

把鼠标移到上去就可以看到详细的内容

如下图所示:

The content of element type must match解决方法

问题原因:

通过错误的提示信息,原来这个xml文件中的属性是有顺序要求的。

我们按照提提的属性要求来即可。

The content of element type must match解决方法

相关推荐

  • Document root element 'validators', must match DOCTYPE root 'struts'.
  • The content of element type 'beans' must match '(description?,(import|alias|bean)*)'.
  • Attribute ‘name ‘ is required and must be specified for element type ‘property ‘.
  • Document root element "地图per" must match DOCTYPE root "null"报凑
  • Element type 'property' must be followed by
  • Myeclipse中java web.xml报错cvc-complex-type.2.3: Element 'web-app' cannot have character [children], because the type's content type is element- only.
  • Document root element "beans:beans" must match DOCTYPE root "null"
  • Document root element "beans" must match DOCTYPE root "null"分析及解决办法
  • struts2.0应验框架出现Document root element "validators" must match DOCTYPE root "stru
  • spring错误之:Document root element "beans" must match DOCTYPE root "null"
  • IntelliJ IDEA中设置同时打开多个文件且分行显示
  • mybatis官网文档mybatis_doc
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 网页学习体会    备案号:   粤ICP备20002247号