spring3.0和myBatis3整合,报错:Document root element "beans", must match DOCTYPE root "null".

请问如何解决?applicationContext.xml文件内容头部为:<?xmlversion="1.0"encoding="UTF-8"?><beansxmlns=... 请问如何解决?
applicationContext.xml文件内容头部为:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
展开
 我来答
若以下回答无法解决问题,邀请你更新回答
jackylvxg
2013-06-18 · TA获得超过243个赞
知道小有建树答主
回答量:386
采纳率:0%
帮助的人:224万
展开全部
这是xml格式就有问题.. 除非把整个文件贴出来看看
本回答被提问者采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
lzc1988221
2013-06-17 · 超过13用户采纳过TA的回答
知道答主
回答量:32
采纳率:0%
帮助的人:33.5万
展开全部
你发的这些看不出什么,你把异常都发过来
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 2条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式