cxf+spring 实现webservice的发布,启动tomcat,报以下错误?

信息:LoadingSpringrootWebApplicationContext2014-6-814:19:47org.springframework.beans.fa... 信息: Loading Spring root WebApplicationContext
2014-6-8 14:19:47 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/beans.xml]
2014-6-8 14:19:47 org.springframework.web.context.ContextLoader initWebApplicationContext
严重: Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Line 12 in XML document from ServletContext resource [/WEB-INF/beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".
at

应该是jaxws.xsd的问题?但是相应jar包都有加进来?求各位大哥帮忙啊
展开
 我来答
百度网友f77eb01
2014-06-09 · TA获得超过407个赞
知道小有建树答主
回答量:615
采纳率:100%
帮助的人:413万
展开全部
应该spring找不到你指定的spring-beans.xsd文件。应该是你把文件名写错了。
以spring3.2.2举例,你可以用解压缩软件打开spring-beans-3.2.2.jar文件,进入META-INF文件夹,打开spring.schemas文件看下都有那些schemas可用。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
妥当且坦率的才俊k
2014-06-08 · TA获得超过3825个赞
知道小有建树答主
回答量:1008
采纳率:80%
帮助的人:943万
展开全部
你把控制台报的错误全部贴出来。
更多追问追答
追问

这个就是初始化的时候报的错

追答
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

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

类别

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

说明

0/200

提交
取消

辅 助

模 式