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
阿里云OSS对象存储依赖引入失败 怎么解决 #40
Labels
help wanted
Extra attention is needed
Comments
com.alibaba.cloud
spring-cloud-alibaba-dependencies
2.2.1.RELEASE
pom
import
Cannot resolve com.alibaba.cloud:aliyun-oss-spring-boot-starter:unknown |
cause:
To fix this issue you could change your dependence as below: <dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>aliyun-oss-spring-boot-starter</artifactId>
<version>1.0.0</version>
<exclusions>
<exclusion>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-oss</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-core</artifactId>
<version>4.5.7</version>
</dependency> 中文:
解决方案,升级aliyun-java-sdk-core版本就好了,具体操作如下:
按照上面的操作应该就万事大吉了,也不晓得后续还会不会有坑(此处严重怀疑程序猿没有测试过就把包发布到中央仓库。。。) |
This was referenced Aug 29, 2020
please use "aliyun-spring-boot-dependencies" replace of "spring-cloud-alibaba-dependencies" while import "aliyun-oss-spring-boot-starter" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
We recommend using English. If you are non-native English speaker, you can use the translation software.
Describe what problem you have encountered
A clear and concise description of what you want to do.
Describe what information you have read
eg. I have read the reference doc of Sentinel
The text was updated successfully, but these errors were encountered: