版本对应关系表:https://github.com/alibaba/spring-cloud-alibaba/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4%E6%98%8E

2021-12-14 18:42:54.401  WARN 9328 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'referenceAnnotationBeanPostProcessor': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.setClassValuesAsString(Z)V
2021-12-14 18:42:54.407  INFO 9328 --- [           main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-12-14 18:42:54.419 ERROR 9328 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : ***************************
APPLICATION FAILED TO START
***************************Description:An attempt was made to call a method that does not exist. The attempt was made from the following location:org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.<init>(ReferenceAnnotationBeanPostProcessor.java:106)The following method did not exist:org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.setClassValuesAsString(Z)VThe method's class, org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor, is available from the following locations:jar:file:/F:/maven/repository/org/apache/dubbo/dubbo/2.7.13/dubbo-2.7.13.jar!/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.classThe class hierarchy was loaded from the following locations:org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor: file:/F:/maven/repository/org/apache/dubbo/dubbo/2.7.13/dubbo-2.7.13.jarcom.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor: file:/F:/maven/repository/com/alibaba/spring/spring-context-support/1.0.10/spring-context-support-1.0.10.jarorg.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter: file:/F:/maven/repository/org/springframework/spring-beans/5.2.15.RELEASE/spring-beans-5.2.15.RELEASE.jarAction:Correct the classpath of your application so that it contains a single, compatible version of org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor

被这个坑卡了好久,一直以为是依赖冲突问题。改了无数个版本都不行,最终终于在ghihub,spring-cloud-alibaba
issues中找到了答案:https://github.com/alibaba/spring-cloud-alibaba/issues/2310

单独添加依赖:

        <dependency><groupId>com.alibaba.spring</groupId><artifactId>spring-context-support</artifactId><version>1.0.11</version></dependency>

Dubbo---升级Dubbo2.7.13依赖问题相关推荐

  1. linux系统内核从3.2.0-100-generic升级到3.13版本

    Docker 官网上要求Docker需要在64位版本的Ubuntu上安装,并且还要保证 Ubuntu 内核的最小版本不低于 3.10. 查看系统相关信息 可使用命令uname -a .uname -r ...

  2. 苹果系统更新服务器繁忙,如何解决升级MacOS 10.13时的常见问题

    随着Mac OS X 10.13 High Sierra的测试版发布,很多Apple粉丝和发烧友都更新了他们的系统.由于此系统是测试版,因此存在一些bug.有些用户在升级系统后会遇到与Mac OS X ...

  3. mac以管理员身份运行文件_使用windows升级ios/iPadOS 13 beta版本,无需Mac和开发者账户...

    引言 北京时间 6 月 4 日凌晨,苹果在 WWDC 上发布了各个平台的新一代操作系统.最引人瞩目的当然是iOS 13,将iPadOS分离出来,并加入了一些提高生产力的功能. 这次官方没有发布iOS ...

  4. 苹果真良心!iPhone6S/SE仍可升级到iOS 13

    来源 | 网易手机 凌晨举行的苹果WWDC19大会刚刚落下帷幕,本届WWDC可谓是历年来动作最大的一次,不仅发布了包括全新iPadOS在内的五大软件平台的更新,同时还发布了两款巨牛逼巨贵的硬件产品-- ...

  5. dubbo升级spring4与cxf

    阿里的dubbo项目是基于spring2.x的.但之后停止更新了.当当网有根据dubbo扩展成dubbox,基于spring3.x,但我的项目中用的是spring4.x,于是fork了dubbox,自 ...

  6. 【Dubbo】Dubbo2.7新功能 --配置中心、元数据中心

    1.配置中心 配置中心提供了动态配置功能,是 Dubbo2.7 版本引入的一个新的功能. 简单来说,就是把 dubbo.properties 中的属性进行集中式存储,存储在其他的服务器上. 目前 Du ...

  7. 2.10.2版本的青龙升级2.10.13及2.11.3版本的教程

    重要提醒: 这个教程仅限使用我下面这个命令搭建的青龙面板使用 docker run -dit \--name QL \--hostname QL \--restart always \-p 5700: ...

  8. ios分屏_升级iPadOS(13.1)正式版后如何分屏?iPadOS分屏方法

    iPadOS(13.1)正式版已经于9月25日(昨天)凌晨1点开始推送!iPadOS是iOS 13的iPad专属定制版,在iOS 13的基础上加入了专门为iPad定制的功能,以及优化在iPad上的使用 ...

  9. npm,ncu 一键升级 package.json 中依赖的版本

    一.场景:运行老项目,使用的新语法,发现报错各种不兼容提示,一个一个升级依赖又太麻烦,so网上找到了这个插件 ncm 一.安装 npm install -g npm-check-updates 二.检 ...

最新文章

  1. MIT一招霸气颠覆传统:勇敢换导师,成本我买单,学生沸腾了
  2. document.body.clientHeight与document.documentElement.clientHeight
  3. [深入浅出WP8.1(Runtime)]Socket编程之UDP协议
  4. 30美丽的矢量建筑艺术为灵感
  5. ajax+json字段变false,JS基础
  6. EJB 3.1全局JNDI访问
  7. Java程序练习-Period
  8. java uml Rose_Rational Rose与UML教程
  9. **使用InkScape绘制简易字母LOGO的教程**
  10. [Kaldi] MFCC特征提取源码详解
  11. python模拟按键_Python在windows下模拟按键和鼠标点击代码
  12. android系统在中国的发展趋势,最新中国智能手机市场操作系统格局:安卓占比超八成...
  13. html下拉栏加箭头,CSS-下拉菜单上的引导3箭头
  14. python网络编程初级总结(1)
  15. https://blog.csdn.net/codezjx/article/details/8872090
  16. 我的世界服务器右侧显示的字幕,我的世界怎么用命令方块显示字幕
  17. Kali Linux渗透测试实战 第一章
  18. Unity 之 解决包体过大问题记录和纹理相关知识点整理
  19. 乌班图服务器测试软件,如何在Ubuntu 18.04中对你的apache服务器运行压力测试
  20. 作为开发者,你都听产品经理的,做的累不累?

热门文章

  1. SitePoint播客#136:政府发布的单个浏览器
  2. 旅行+社交APP功能需求分析
  3. 图片素材类网站必备以图搜图、智能搜图识图图像搜索系统imgso,让素材网站更智能专业
  4. 阿里云HaaS100物联网开发板学习笔记(四)轻应用初步--用javascript连接阿里云物联网平台
  5. 在C语言aceg什么意思,#8203;给定关系模式R,U={A,B,C},F={AB-C,C-B}.关系R(1) ,且分别有(2)给定关系模式R,U={A,B,C},F={AB-C,C-B}...
  6. PG主程序模块(Main)——boot模式
  7. 什么是拖延症 ----- 时间管理:终结拖延症小技巧之高效利用时间
  8. D2 日报 2019年5月20日
  9. 【PowerQuery】在Excel中手动刷新数据连接
  10. 《NFL橄榄球》:洛杉矶公羊·橄榄1号位