Mybatis报错:

The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|insert*|update*|delete*|select*)+".

解决方案:

配置文件的注释内容多打了一个>

比如:

<!-- 关联单个信息 -->
<!-- 两条语句加载Book和关联的User信息 -->>

<select id="findBookAndUser" 
resultMap="bookMap">
select *from cn_notebook
</select>

The content of element type mapper must match (cache-ref|cache|resultMap*|parameterMap*|sql*|inse相关推荐

  1. namespace 或The content of element type mapper must match EMPTY

    必须为元素类型 "mapper" 声明属性 "namespace" 或The content of element type "mapper" ...

  2. The content of element type “mapper“ must match “EMPTY“.错误

    <mappers><mapper resource="cn/java/dao/impl/xxx.xml"></mapper></mappe ...

  3. mapper.xml报异常The content of elhe content of element type mapper

    The content of element type "mapper" must match "(cache-ref|cache|resultMap*|paramete ...

  4. The content of element type configuration must match (properties?,settings?,typeAliases?,typeHand...

    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC & ...

  5. The content of element type configuration must match (properties?,setting

    在运行mybatis配置文件的时候,出现错误: [html]  view plain  copy Caused by: org.xml.sax.SAXParseException: The conte ...

  6. The content of element type web-app must match……等 问题之解决办法

    在flex整合Java生成的web.xml中添加引用servelet的代码就报错如下: The content of element type "web-app" must mat ...

  7. java项目问题 The content of element type servlet must match (icon?,servlet-name,display-name?,descrip

    错误问题:The content of element type "servlet" must match "(icon?,servlet-name,display-na ...

  8. arse Error at line 58 column 17: The content of element type struts-config must match (display-na

    以前没有接触过struts1的项目  刚上来开发公司来的项目的时候遇到的这个错误. 报错信息: 严重: Parse Error at line 58 column 17: The content of ...

  9. 在xml文件中使用typeAliases标签报错The content of element type “configuration“ must match “(properties?,setting

    typeAliases标签:为Java 类型设置一个短的名字/别名 这里的错误提示:(properties?,settings?,typeAliases?,typeHandlers?,objectFa ...

  10. MyBatis配置文件出现错误,已解决(The content of element type )

    开始创建xml配置文件时,先把标签打出来,就出现了错误:The content of element type "configuration" must match (proper ...

最新文章

  1. 2020年,数据中心的绿色技术演进与创新
  2. Could not find a suitable table factory for ‘org.apache.flink.table.factories.CatalogFactory‘
  3. hdu-1877(大数+进制转换)
  4. vscode,git提交push,需要每次都输入账号密码username,password
  5. 面试官系统精讲Java源码及大厂真题 - 12 彰显细节:看集合源码对我们实际工作的帮助和应用
  6. 阿里云张建锋:如何管理超大规模研发团队?
  7. Android Fragment学习
  8. 常用ftp、tftp服务器软件
  9. selenium firebug firePath xpath问题
  10. fw325r没有虚拟服务器,FAST FW325R的配置方法教程
  11. 计算机网络计费系统是什么意思,计费系统
  12. linux无法运行sssverify,Synopsys Design Compiler在fedora Core 9下面的安装
  13. C语言入门 | c语言基础知识
  14. 75道经典AI面试题,我就想把你们安排的明明白白的!(含答案)
  15. 第三方客户端配置个人教育邮箱(以华北电力大学邮箱为例)
  16. C++语言学习(十四)——C++类成员函数调用分析
  17. 苏黎世联邦理工学院计算机硕士申请条件,苏黎世联邦理工学院研究生申请条件...
  18. 去哪儿(社招)测开面经-机票业务线
  19. 华为笔试题-素数伴侣
  20. docker可以把应用及其相关的_Docker及其相关技术

热门文章

  1. css特效一:文字覆盖图像悬停效果
  2. 机器学习十大经典算法入门
  3. GitLab CI/CD 配置指南 .gitlab-ci.yml文件的配置
  4. linux各个文件夹,linux各个目录文件夹含义
  5. [CDOJ 5] Diligent Boys Don’t Love [动态规划]
  6. javascript 百度百科
  7. 高级计算机网络(习题一加解析)
  8. 如何下载哔哩哔哩(bilibili)网页端视频
  9. 优质软文怎么写----皆义 网途
  10. 参考平面及其高度_遥感影像中建筑物平面及高度信息提取方法