搭建SpringbootAdmin监控中心报错A attempt was made to call the method reactor.retry.Retry.retryMax(I)Lreactor/ret)
遇到了同样的错误,转载记录下:
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId> spring-boot-starter-parent</artifactId>
<version> 2.1.0.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId> spring-boot-admin-starter-server</artifactId>
<version> 2.1.0</version>
</dependency>
完事,SpringbootAdmin监控中心启动成功
扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄
转载自:https://blog.csdn.net/qq_41938882/article/details/85048953
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

很明显,还没有启动成功就报错了.报错原因,很明显,说jar包的位置不对.网上关于这类的资料也不对,根本原因就是pom.xml文件中版本依赖有问题,比如你的项目依赖的是2.1.0版本的工程,你其他的子依赖,必须也是2.1.0。我报错的原因就是spring-boot-admin-starter-server的version版本是2.1.0没有和parent中的version对应。最后改成2.0.0就可以启动成功!
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId> spring-boot-starter-parent</artifactId>
<version> 2.1.0.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId> spring-boot-admin-starter-server</artifactId>
<version> 2.1.0</version>
</dependency>
完事,SpringbootAdmin监控中心启动成功


更多精彩