nested exception is org.xml.sax.SAXParseException; lineNumber: 13; columnNumber: 48; cvc-complex-type.2.4.c: 通配符的匹配很全面, 但无法找到元素 ‘dubbo:application’ 的声明。
< xml version= “1.0” encoding= “UTF-8” >
<beans xmlns= “http://www.springframework.org/schema/beans”
xmlns:context= “http://www.springframework.org/schema/context”
xmlns:xsi= “http://www.w3.org/2001/XMLSchema-instance”
xmlns:dubbo= “http://code.alibabatech.com/schema/dubbo”
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.xsd
http://code.alibabatech.com/schema/dubbo

http://code.alibabatech.com/schema/dubbo/dubbo.xsd" >
<dubbo:application name= “privilege_web” />
<dubbo:registry address= “zookeeper://192.168.9.113:2181” check= “false” timeout= “20000” />
<dubbo:reference id= “systemServiceImpl” interface= “xxx.ISystemService” timeout= “10000” />
<dubbo:reference id= “areaServiceImpl” interface= “xxx.IAreaService” timeout= “10000” />
<dubbo:reference id= “dictServiceImpl” interface= “xxx.IDictService” timeout= “10000” />
<dubbo:reference id= “officeServiceImpl” interface= “xxx.IOfficeService” timeout= “10000” />
可能原因:
1.xml编码问题,导致标签无法被解析
2.没有下载dubbo相关依赖包