Closed nbfujx closed 5 years ago
Which version did you use?
文件名相同,位于不同的文件夹, 不行
文件名不相同 可以 但是Consumer 根据版本获取后过段时间 provider 会报
2018-08-30 23:17:35.109 [New I/O worker #9] WARN c.alibaba.dubbo.remoting.transport.AbstractServer - [DUBBO] All clients has discontected from /192.168.1.164:29180. You can graceful shutdown now., dubbo version: 2.0.1, current host: 192.168.1.164
导致consumer假死
Please add those Maven dependencies:
<!-- Dubbo -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
<version>2.6.5</version>
</dependency>
<!-- Spring Context Extras -->
<dependency>
<groupId>com.alibaba.spring</groupId>
<artifactId>spring-context-support</artifactId>
<version>1.0.2</version>
</dependency>
Dubbo 2.6.5 will use the group as a port Service bean name.
group 服务分组,当一个接口有多个实现,可以用分组区分 ,不起作用
org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'channelMerchantProvider' for bean class [com.mipay.polling.provider.v2.ChannelMerchantProvider] conflicts with existing, non-compatible bean definition of same name and class [com.mipay.polling.provider.v1.ChannelMerchantProvider]