土豆丝儿 2022-10-13 17:42 采纳率: 100%
浏览 30
已结题

springboot+dubbo+nacos启动报错

启动报错如下:

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

com.alibaba.nacos.spring.core.env.NacosPropertySourcePostProcessor.postProcessBeanFactory(NacosPropertySourcePostProcessor.java:152)

The following method did not exist:

com.alibaba.spring.util.BeanUtils.getBeanNames(Lorg/springframework/beans/factory/config/ConfigurableListableBeanFactory;Ljava/lang/Class;)[Ljava/lang/String;

The method's class, com.alibaba.spring.util.BeanUtils, is available from the following locations:

jar:file:/D:/svn_repository/maven/repos/com/alibaba/spring/spring-context-support/1.0.8/spring-context-support-1.0.8.jar!/com/alibaba/spring/util/BeanUtils.class

It was loaded from the following location:

file:/D:/svn_repository/maven/repos/com/alibaba/spring/spring-context-support/1.0.8/spring-context-support-1.0.8.jar

Action:

Correct the classpath of your application so that it contains a single, compatible version of com.alibaba.spring.util.BeanUtils

  • 写回答

2条回答 默认 最新

      报告相同问题?

      相关推荐 更多相似问题

      问题事件

      • 系统已结题 11月8日
      • 已采纳回答 10月31日
      • 创建了问题 10月13日

      悬赏问题

      • ¥15 关于#python#的问题:pytorch中 "for i, data in train_loader:" 这条语句为何报错
      • ¥20 从零开始汽车自动驾驶相关的软件学习
      • ¥30 操作系统进程实验虚拟机
      • ¥15 yolov5摄像头识别只能检测第一帧图像
      • ¥15 有没有可以下载钉钉群文件视频的软件
      • ¥15 如何用LaTeX打出如下的表格
      • ¥15 程序填空补充完整的代码一共三题
      • ¥15 在MySQL中使用while建表,报错
      • ¥15 python导入pyautogui报错,网上也没有找到解决方法如何解决?
      • ¥15 关于IPSEC和NAT SERVER同时使用的情况下,该如何解决客户端访问服务器的问题