Closed buruoyanyang closed 1 year ago
Our relevant example is alright. Could you provide a simplest demo for us to reproduce the problem.
Our relevant example is alright. Could you provide a simplest demo for us to reproduce the problem.
Here is demo https://github.com/buruoyanyang/TestNacosWithGatewat And in version 2021.1 is ok(with spring-cloud version is 2021.0.5, and the spring-boot version is 2.6.13)
You may need to use the nacos 2.x server, using a lower version of the nacos server will cause you this problem @buruoyanyang
The versions of the Nacos client and server need to match. I use your example to connect to a nacos-server which version is 2.0.3.1. It is all right.
my nacos version is 2.1.2, it is not ok
The versions of the Nacos client and server need to match. I use your example to connect to a nacos-server which version is 2.0.3.1. It is all right.
your jdk version?
This issue has been open 30 days with no activity. This will be closed in 7 days.
This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community.
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。另外请按照如下要求提交相关信息节省社区维护同学的理解成本,否则该讨论极有可能直接被忽视或关闭。 We recommend using English. If you are non-native English speaker, you can use the translation software. We recommend using English. If you are non-native English speaker, you can use the translation software. In addition, please submit relevant information according to the following requirements to save the understanding cost of community maintenances, otherwise the discussion is very likely to be ignored or closed directly.
Which Component spring-cloud-starter-alibaba-nacos-discovery, 准确的说是nacos-client "spring-cloud-starter-alibaba-nacos-discovery", more precisely, refers to "nacos-client".
Describe the bug 在2022.0.0.0-RC1版本中,引入spring-cloud-starter-alibaba-nacos-discovery后,会报以下堆栈异常 With the introduction of spring-cloud-starter-alibaba-nacos-discovery in version 2022.0.0.0-RC1, the following stack trace exception will be thrown.
我的pom文件大概如下 Here is my pom.xml
Simplest demo The URL of the simplest demo to reproduce the problem.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here. window10/openjdk17/SpringBoot3.0