Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nacos-client 版本建议 #5

Open
DonaldY opened this issue Jan 23, 2021 · 2 comments
Open

nacos-client 版本建议 #5

DonaldY opened this issue Jan 23, 2021 · 2 comments

Comments

@DonaldY
Copy link

DonaldY commented Jan 23, 2021

书中版本:

<properties>
        <spring-cloud-alibaba.version>2.2.0.RELEASE</spring-cloud-alibaba.version>
</properties>

此版本用的 nacos-client 是 1.1.4,会出现超时,对应issue:alibaba/nacos#2206

我这改为:

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.alibaba.cloud</groupId>
                <artifactId>spring-cloud-alibaba-dependencies</artifactId>
                <version>${spring-cloud-alibaba.version}</version>
                <type>pom</type>
                <scope>import</scope>
                <exclusions>
                    <exclusion>
                        <groupId>com.alibaba.nacos</groupId>
                        <artifactId>nacos-client</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>com.alibaba.nacos</groupId>
                <artifactId>nacos-client</artifactId>
                <version>1.4.1</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
@fangjian0423
Copy link
Owner

建议使用 1.2.1,这个是目前最稳定的版本。

@DonaldY
Copy link
Author

DonaldY commented Jan 25, 2021

建议使用 1.2.1,这个是目前最稳定的版本。

这样的嘛,之前爆出 1.4.0 的漏洞,所以都更新到 1.4.1 了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants