加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

XML document structures must start and end within the same e

发布时间:2020-12-16 05:59:11 所属栏目:百科 来源:网络整理
导读:做项目的时候用的框架spring3.0+struts2.0+mybatis 写了一个配置文件 结果报错如下: XML document structures must start and end within the same entity. 经过仔细检查 除了标签要写对应之外,就是那个中文注释问题, 一定要前后空格 隔开 !-- 说明 -- 例
做项目的时候用的框架spring3.0+struts2.0+mybatis
写了一个配置文件 结果报错如下:
XML document structures must start and end within the same entity.


经过仔细检查 除了标签要写对应之外,就是那个中文注释问题, 一定要前后空格 隔开
<!-- 说明 -->

例如:
<!-- 字典表 -->

<select id="getArea" parameterType="java.util.HashMap" resultType="com.genertech.ssp.model.Dictionary"> select f_id as id,f_value as value from t_sys_dictionary where f_code='FPQY' </select> 中文的注释 例如字典表前后一定要有空格 否则就会报该错误

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读