当前位置:   article > 正文

阿里云的oss启动依赖导入报错com.alibaba.cloud spring-cloud-alibaba-dependencies 2.2.1.RELEASE pom importCannot r_com.alibaba.cloud:spring-cloud-alibaba-dependencie

com.alibaba.cloud:spring-cloud-alibaba-dependencies:pom:hoxton.sr12 was not

cause:

  1. spring-cloud-alibaba-dependencies 2.2.1.RELEASE pom didn't specify any version of "aliyun-oss-spring-boot-starter"
  2. "aliyun-oss-spring-boot-starter" use an incompatible version of "aliyun-java-sdk-core"
  1. <dependency>
  2. <groupId>com.alibaba.cloud</groupId>
  3. <artifactId>aliyun-oss-spring-boot-starter</artifactId>
  4. <version>1.0.0</version>
  5. <exclusions>
  6. <exclusion>
  7. <groupId>com.aliyun</groupId>
  8. <artifactId>aliyun-java-sdk-oss</artifactId>
  9. </exclusion>
  10. </exclusions>
  11. </dependency>
  12. <dependency>
  13. <groupId>com.aliyun</groupId>
  14. <artifactId>aliyun-java-sdk-core</artifactId>
  15. <version>4.5.7</version>
  16. </dependency>
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/425728
推荐阅读
相关标签
  

闽ICP备14008679号