以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 DTD/XML Schema 』  (http://bbs.xml.org.cn/list.asp?boardid=23)
----  为什么在Eclipse 会提示错误 :Error - cvc-elt.1:Cannot find the declaration of element 'beans'  (http://bbs.xml.org.cn/dispbbs.asp?boardid=23&rootid=&id=47643)


--  作者:baiqiepian
--  发布时间:5/27/2007 10:25:00 PM

--  为什么在Eclipse 会提示错误 :Error - cvc-elt.1:Cannot find the declaration of element 'beans'
<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:amq="http://activemq.org/config/1.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://activemq.org/config/1.0 http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1.xsd">

为什么在Eclipse 会提示错误 :Error - cvc-elt.1:Cannot find the declaration of element 'beans'
我试过了,是这一段引起的?为什么呢?我已经关掉了XML的Validation了
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://activemq.org/config/1.0 http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1.xsd">


--  作者:gemingke
--  发布时间:6/19/2007 3:13:00 PM

--  
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://activemq.org/config/1.0 http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1.xsd">

出现了两个schema文件吧


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
27.344ms