spring-cloud-starter-alicloud-oss dependency import failure problem

You need to use Alibaba's OSS object storage when you are doing the project. The official documents indicate that the following dependencies need to be introduced

<dependency>
    <groupId>com.alibaba.cloud</groupId>
    <artifactId>spring-cloud-starter-alicloud-oss</artifactId>
</dependency>

But idea prompts not found, refreshing several times did not solve it, the previous version of springcloud-alibaba imported 2.3.3

<dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.alibaba.cloud</groupId>
                <artifactId>spring-cloud-alibaba-dependencies</artifactId>
            	<version>2.2.3.RELEASE</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

Later changed to version 2.1.0, the problem was solved

<dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.alibaba.cloud</groupId>
                <artifactId>spring-cloud-alibaba-dependencies</artifactId>
<!--                <version>2.2.3.RELEASE</version>-->
                <version>2.1.0.RELEASE</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

However, the official document does not seem to specify the version requirements. I don't know if it is a version issue. Friends who know can comment and leave a message to exchange.

2020-10-28 Reply from netizens: spring-cloud-alibaba":{"2.2.1.RELEASE":"Spring Boot >=2.2.0.RELEASE and <2.3.0.M1"},

Guess you like

Origin blog.csdn.net/qq_40084325/article/details/109341471