<?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">
<dubbo:application name="spring-dubbo-consumer"/>
<dubbo:reference id="twoservice"
interface="com.zzq.dubbo.service.MyDubboService" url="dubbo://localhost:20880"/>
</beans>
Expection:
No application config found or it's not a valid config! Please add
<dubbo:application name="..." /> to your spring config.
debug中 org.apache.dubbo.config.ApplicationConfig#isValid()-----name是null
[ Full content available at: https://github.com/apache/dubbo/issues/5793 ]
This message was relayed via gitbox.apache.org for
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]