首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > XML SOAP >

XML document structures must start and end within the same entity

2012-11-23 
XML document structures must start and end within the same entity.做项目的时候用的框架spring3.0+str

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>

中文的注释  例如字典表前后一定要有空格   否则就会报该错误

热点排行