This project contains a Spring Boot Starter that registers HTTP endpoints on a Spring Cloud Nacos server to support Prometheus's service discovery mechanism for Consul (<consul_sd_config>)
nacos discovery 2.2.1不支持,报以下错,而readme里面写了,2.2+, 不严谨
java.lang.IllegalStateException: Failed to introspect Class [io.github.chengliu.nacosconsuladapter.NacosConsulAdapterConfig] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:481) ~[spring-core-5.2.7.RELEASE.jar:5.2.7.RELEASE]
nacos discovery 2.2.1不支持,报以下错,而readme里面写了,2.2+, 不严谨 java.lang.IllegalStateException: Failed to introspect Class [io.github.chengliu.nacosconsuladapter.NacosConsulAdapterConfig] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2] at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:481) ~[spring-core-5.2.7.RELEASE.jar:5.2.7.RELEASE]