- 起初为了打包SpringBoot项目成Jar包出现了很多错误,最后一个错误就是这个
Could not find artifact org.springframework.boot:spring-boot-buildpack-platform:jar:2.3.5.BUILD-SNAP
- 首先:个人百度过很多种方法,但是都得不到解决(直接自行百度这串后的结果)
- 后来看到一个启发,说去maven官网去下载,然后我就去百度了这个包:spring-boot-starter-parent
- 结果发现当时还没有2.3.5.BUILD-SNAPSHOT,所以我就在本地的POM.XML里降了一级下来
没改前
改完后
然后再去打包成jar包就行了,记得先clean在打包
相关文章
- Could not find artifact com.sun:tools:jar:1.5.0
- Could not find artifact org.springframework.boot:spring-boot-buildpack-platform:jar:2.3.5.BUILD-SNAP
- Failed to execute goal on project e3-manager: Could not resolve dependencies for project cn.e3mall:e3-manager:pom:0.0.1-SNAPSHOT: Could not find artifact cn.e3mall:e3-parent:jar:0.0.1-SNAPSHOT