原文:nested exception is java.lang.NoClassDefFoundError: org/springframework/boot/actuate/health/OrderedHealthAggregator

異常信息 解決方法 在pom文件中添加以下依賴,再次運行后成功啟動: Reference https: stackoverflow.com questions problems with eureka health checks in spring application rq https: www.baeldung.com spring boot actuators ...

2019-07-07 22:37 0 5853 推薦指數:

查看詳情

java.lang.NoClassDefFoundError: org/springframework/boot/actuate/

項目引入了actuate健康檢查,在生產上報錯,去掉就好了! 我用這個呢,就是為了方便開發. 引入這個包后,項目啟動在controller的方法處,會出現綠色三角按鈕,點擊就可以直接調試接口,非常方便. 現在引入線上有問題,那就去掉吧! 應該可以在依賴里面加上<scope> ...

Mon Jun 22 18:32:00 CST 2020 0 2793
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM