The content of element type mapper must match (cache-ref|cache|resultMap*|parameterMap*|sql*|inse
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相关推荐
- namespace 或The content of element type mapper must match EMPTY
必须为元素类型 "mapper" 声明属性 "namespace" 或The content of element type "mapper" ...
- The content of element type “mapper“ must match “EMPTY“.错误
<mappers><mapper resource="cn/java/dao/impl/xxx.xml"></mapper></mappe ...
- mapper.xml报异常The content of elhe content of element type mapper
The content of element type "mapper" must match "(cache-ref|cache|resultMap*|paramete ...
- The content of element type configuration must match (properties?,settings?,typeAliases?,typeHand...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC & ...
- The content of element type configuration must match (properties?,setting
在运行mybatis配置文件的时候,出现错误: [html] view plain copy Caused by: org.xml.sax.SAXParseException: The conte ...
- The content of element type web-app must match……等 问题之解决办法
在flex整合Java生成的web.xml中添加引用servelet的代码就报错如下: The content of element type "web-app" must mat ...
- 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 ...
- 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 ...
- 在xml文件中使用typeAliases标签报错The content of element type “configuration“ must match “(properties?,setting
typeAliases标签:为Java 类型设置一个短的名字/别名 这里的错误提示:(properties?,settings?,typeAliases?,typeHandlers?,objectFa ...
- MyBatis配置文件出现错误,已解决(The content of element type )
开始创建xml配置文件时,先把标签打出来,就出现了错误:The content of element type "configuration" must match (proper ...
最新文章
- 2020年,数据中心的绿色技术演进与创新
- Could not find a suitable table factory for ‘org.apache.flink.table.factories.CatalogFactory‘
- hdu-1877(大数+进制转换)
- vscode,git提交push,需要每次都输入账号密码username,password
- 面试官系统精讲Java源码及大厂真题 - 12 彰显细节:看集合源码对我们实际工作的帮助和应用
- 阿里云张建锋:如何管理超大规模研发团队?
- Android Fragment学习
- 常用ftp、tftp服务器软件
- selenium firebug firePath xpath问题
- fw325r没有虚拟服务器,FAST FW325R的配置方法教程
- 计算机网络计费系统是什么意思,计费系统
- linux无法运行sssverify,Synopsys Design Compiler在fedora Core 9下面的安装
- C语言入门 | c语言基础知识
- 75道经典AI面试题,我就想把你们安排的明明白白的!(含答案)
- 第三方客户端配置个人教育邮箱(以华北电力大学邮箱为例)
- C++语言学习(十四)——C++类成员函数调用分析
- 苏黎世联邦理工学院计算机硕士申请条件,苏黎世联邦理工学院研究生申请条件...
- 去哪儿(社招)测开面经-机票业务线
- 华为笔试题-素数伴侣
- docker可以把应用及其相关的_Docker及其相关技术