jhipster项目上的java PrometheusScrapeEndpoint运行时错误
我正在将一些代码从一个旧的jhipster项目转移到一个新项目。我是爪哇人。我修复了所有的编译时错误,但是当我运行maven时,我得到了这个运行时错误。有人对如何修复这些错误有什么建议吗
2020-05-07 17:53:28.099 ERROR 3770 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.test.TestApp]; nested exception is java.lang.IllegalStateException: Error processing condition on org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusMetricsExportAutoConfiguration$PrometheusScrapeEndpointConfiguration
及
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.actuate.metrics.export.prometheus.PrometheusScrapeEndpoint
<spring-boot.version>2.2.5.RELEASE</spring-boot.version>
共 (0) 个答案