医网信-客户中心
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.4KB

2 years ago
12345678910111213141516171819202122232425
  1. # 工程简介
  2. # 常见错误
  3. ## 问题1 java.lang.NoClassDefFoundError: org/apache/curator/RetryPolicy
  4. A:guava包冲突
  5. ## 问题2 dubboFilter 在客户端没有生效
  6. A:需要服务提供者在发布的时候指定 <dubbo:consumer check="false" filter="dubboCustomerExtendsInvokeFilter,dubboConsumerFilter,dubboCustomerInvokeFilter"></dubbo:consumer>
  7. ## 问题3 META_INF文件 打包丢失
  8. A: META_INF/dubbo 必须都是文件夹,分开单独创建。打包完毕后,去target目录确认下classes文件夹下是否包含META_INF文件夹
  9. ## 问题4:connection timeout
  10. A: 21:18:10.563 [main] DEBUG org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@627551fb
  11. 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]
  12. java.net.ConnectException: Connection timed out: connect
  13. A: dubbo2.7.5 不能排除spring-firework
  14. ## 问题5 :The bean 'dubboLifecycleComponentApplicationListener' could not be registered. A bean with that name has already been defined and overriding is disabled.
  15. A: spring.main.allow-bean-definition-overriding=true
  16. # 延伸阅读