Skip to content
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

springboot版本不兼容导致类(CompositeHealthContributor)无法found #113

Closed
ancientelves opened this issue Jan 29, 2023 · 1 comment

Comments

@ancientelves
Copy link

首先感谢您使用 DynamicTp,如果使用过程中有任何问题,请按照下述模板反馈问题,建议使用 Markdown 语法

版本信息

  • Jdk版本:8
  • SpringBoot版本:2.1.18.RELEASE
  • DynamicTp版本:
cn.dynamictp dynamic-tp-spring-boot-starter-common 1.0.9
  • 配置中心版本:

问题描述

Caused by: java.lang.ClassNotFoundException: org.springframework.boot.actuate.health.CompositeHealthContributor

  • 猜测可能原因:
    CompositeHealthContributor 无法在低版本springboot的监控组件中
    spring-boot-starter-actuator
@ancientelves ancientelves added the bug Something isn't working label Jan 29, 2023
@ancientelves ancientelves changed the title springboot版本不兼容导致类无法found springboot版本不兼容导致类(CompositeHealthContributor)无法found Jan 29, 2023
@yanhom1314
Copy link
Collaborator

这就是版本不兼容导致的呗,CompositeHealthContributor 是哪个依赖里会用到的,升级版本吧

@yanhom1314 yanhom1314 added compatibility and removed bug Something isn't working labels Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants