医网信-客户中心
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
hanzhenchao b5f9186618 1 2 年前
common 1 2 年前
customer 1 2 年前
facade 1 2 年前
.gitignore 1 2 年前
README.md init 2 年前
pom.xml 1 2 年前

README.md

工程简介

常见错误

## 问题1 java.lang.NoClassDefFoundError: org/apache/curator/RetryPolicy
    A:guava包冲突
## 问题2 dubboFilter 在客户端没有生效
    A:需要服务提供者在发布的时候指定     <dubbo:consumer check="false" filter="dubboCustomerExtendsInvokeFilter,dubboConsumerFilter,dubboCustomerInvokeFilter"></dubbo:consumer>
## 问题3 META_INF文件 打包丢失
    A: META_INF/dubbo 必须都是文件夹,分开单独创建。打包完毕后,去target目录确认下classes文件夹下是否包含META_INF文件夹
## 问题4:connection timeout
    A: 21:18:10.563 [main] DEBUG org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@627551fb
    21:18:32.458 [main] DEBUG org.springframework.beans.factory.xml.ResourceEntityResolver - Could not resolve XML entity [http://code.alibabatech.com/schema/dubbo/dubbo.xsd] through URL [https://code.alibabatech.com/schema/dubbo/dubbo.xsd]
    java.net.ConnectException: Connection timed out: connect

    A: dubbo2.7.5 不能排除spring-firework

## 问题5 :The bean 'dubboLifecycleComponentApplicationListener' could not be registered. A bean with that name has already been defined and overriding is disabled.
    A: spring.main.allow-bean-definition-overriding=true

延伸阅读