chen-gliu / nacos-consul-adapter

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>)
MIT License
87 stars 36 forks source link

nacos discovery 2.2.1不支持 #17

Closed huangyaohai closed 12 months ago

huangyaohai commented 12 months ago

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]

chen-gliu commented 12 months ago

不会啊,我有时间试试

chen-gliu commented 12 months ago

我刚刚试了一下2.2.1确实不支持,我修改了说明,感谢提交issue

chen-gliu commented 11 months ago

image 时间太久了。。。有一个支持2.2.0的版本。。。