-
Notifications
You must be signed in to change notification settings - Fork 26.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dubbo 2.7.14 不兼容spring boot 2.6.1 #9394
Comments
@jinshengyong 可以贴一些异常信息吗 |
版本
报错信息
|
用以下版本就没问题spring boot 2.5.7 |
The root cause is that Spring Boot Actuator changed the implement of 根本原因是 Spring Boot Actuator 在 2.6.x 版本变更了 |
Fixed in #9426 |
I tried and made a different mistake.
Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/core/metrics/ApplicationStartup
at org.springframework.boot.SpringApplication.<init>(SpringApplication.java:227)
at org.springframework.boot.SpringApplication.<init>(SpringApplication.java:240)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
at com.example.springboot.provider.ProviderApplication.main(ProviderApplication.java:10)
Caused by: java.lang.ClassNotFoundException: org.springframework.core.metrics.ApplicationStartup
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 5 more |
@icankeep Is this problem solved? I also encountered the same problem. |
dubbo 2.7.14 不兼容spring boot 2.6.1,spring boot 2.5.x 一下兼容的,我升级到 spring boot 2.6.1 以后,dubbo 的健康检查就报错了
The text was updated successfully, but these errors were encountered: