Dots are not allowed in element names, please remove it from UserMapper.xml
来源:互联网 发布:嫁给程序员好吗 编辑:程序博客网 时间:2024/05/29 06:29
出现这个错误代码,可以说见证了一个糊涂蛋的诞生.字面意思是不能出现符号(.)点,请从UserMapper.xml中删除它...啥意思呢,就是在dao层的xml中,出现了错误的元素,肯定哪里写错了啊.然后我一检查,原来是映射的方法名写成了UserMapper.xml....
<select id="**UserMapper.xml**" resultMap="UserAndMessageResultMap"> select a.*,b.* from t_message a left join t_user b on a.uid = b.id </select>
各位写代码还是认真再认真吧,出错误根据错误代码或日志仔细找,也会帮助我们很快找到的.
阅读全文
0 0
- Dots are not allowed in element names, please remove it from UserMapper.xml
- cannot load settings from file '\.idea\workspace.xml': content is not allowed in prolog . please cor
- in-source builds are not allowed
- Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly
- Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly
- Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly
- Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly
- error: kernel launches from templates are not allowed in system files和/usr/local/lib/libhdf5.a: erro
- [ssh2]list判断空,HQL from类,@Entity,Write operations are not allowed in read-only mode
- Duplicates in a repeater are not allowed in AngularJS
- Subqueries are not allowed in this context. Only scalar expressions are allowed.
- Write operations are not allowed in read-only mode
- Write operations are not allowed in read-only mode
- Write operations are not allowed in read-only mode
- operations are not allowed in read-only mode
- operations are not allowed in read-only mode
- Write operations are not allowed in read-only mode
- Write operations are not allowed in read-only
- Unity5 GI与PBS渲染从用法到着色代码
- PaddlePaddle三行代码入门 | 公开课
- Python入门(05) -- 类
- 赋值兼容 与 虚函数
- 高数 07.05 隐函数的求导方法
- Dots are not allowed in element names, please remove it from UserMapper.xml
- 人工智能企业自动化的关键现状和战略影响
- mysql jdbc 连接类
- 为什么神经网络会把乌龟识别成步枪?现在的 AI 值得信任吗?
- 腾讯云centos7.2安装MySQL5.5
- 深度学习的核心:掌握训练数据的方法
- 高数 07.06 多元函数的极值及其求法
- Spring学习(3)--Bean之间的关系
- 纯虚函数 与 含有虚函数的析构 (虚析构)