This error occurs when integrating OSS to add POM dependencies

Official documentation: github.com/alibaba/ali…

The dependency of the corresponding version cannot be found:

<dependency>
    <groupId>com.alibaba.cloud</groupId>
    <artifactId>aliyun-oss-spring-boot-starter</artifactId>
</dependency>
Copy the code

You need to manually add the version number and that’s it:

<dependency>
    <groupId>com.alibaba.cloud</groupId>
    <artifactId>spring-cloud-starter-alicloud-oss</artifactId>
    <version>2.2.0. RELEASE</version>
</dependency>
Copy the code