标签:aac selected dem bean image sse instance beans res
Spring通过XML整合dubbo的过程控制台包如下错误:
Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://dubbo.apache.org/schema/dubbo]
配置如下:
最后发现从http://dubbo.apache.org/zh-cn/docs/user/configuration/xml.html网站复制的有问题
将 http://dubbo.apache.org/schema/dubbo/dubbo.xsd
上面配置为这个一直报错,改为以下
http://code.alibabatech.com/schema/dubbo/dubbo.xsd
正确配置:
<?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:dubbo="http://code.alibabatech.com/schema/dubbo" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
微信公众号:
JAVA程序猿成长之路
分享资源,记录程序猿成长点滴。专注于Java,Spring,SpringBoot,SpringCloud,分布式,微服务。
Unable to locate Spring NamespaceHandler for XMLschemanamespace http://dubbo.apache.org/schema/dubbo
标签:aac selected dem bean image sse instance beans res
原文地址:https://www.cnblogs.com/niugang0920/p/12187598.html