Java 如何解决绑定PrometheusProperty时出现的错误?

Java 如何解决绑定PrometheusProperty时出现的错误?,java,spring-boot,prometheus,Java,Spring Boot,Prometheus,嗨,伙计们。 运行应用程序时,我在dinding PrometheusProperty时出错: Could not bind properties to 'PrometheusProperties' : prefix=management.metrics.export.prometheus, ignoreInavildFields=false,ignoreUnknownFields=true; nested exception is java.lang.IllegalStateException

嗨,伙计们。 运行应用程序时,我在dinding PrometheusProperty时出错:

Could not bind properties to 'PrometheusProperties' : prefix=management.metrics.export.prometheus, ignoreInavildFields=false,ignoreUnknownFields=true; nested exception is java.lang.IllegalStateException: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext
有什么办法可以解决这个问题吗?)