spring-boot-starter-parent 包maven依赖报错
2018-07-17 17:59
701 查看
今天从 http://start.spring.io/ 下载的demo项目,导入eclipse后,pom文件一直报 parent包错,然后感觉就是自己maven镜像里面搜不到这个包,
所以改了 maven的 settings.xml 里面的镜像路径,修改后 在eclipse中 右键项目 maven -》update project ,就下载下来包了,项目就正常了。
在 settings.xml 中修改镜像如下:
<mirror>
<id>mirrorId</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://central.maven.org/maven2/</url>
</mirror>
相关文章推荐
- maven--spring-boot-starter-parent
- maven <artifactId>spring-boot-starter-parent</artifactId>里配置的版本<version>1.3.0.M1</version>和<version>1.5.6.RELEASE</version>有什么区别
- maven依赖里redis的依赖spring-boot-starter-data-redis和spring-boot-starter-redis有什么区别?
- 深入浅析Spring-boot-starter常用依赖模块
- Spring Boot学习--spring-boot-starter-parent及starters
- 初识spring boot maven管理--使用spring-boot-starter-parent
- Spring boot starter pom的依赖关系说明
- spring-boot-starter-parent 1.3.6.RELEASE
- 3.玩转Spring Boot 不使用spring-boot-starter-parent构建
- maven项目引入spring boot依赖之后filter不生效的问题
- Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.4.RELEASE
- SpringBoot+Maven 构建SSM环境的依赖包
- spring-boot中关于Maven依赖管理的一个问题
- 深入浅析Spring-boot-starter常用依赖模块
- Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.4.RELEASE
- 基于maven的spring boot 项目porm文件配置(含定时器,数据抓取,分词器依赖配置)
- SpringBoot + MyBatis + DRUID + MySQL Maven依赖配置
- Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.2.RELEASE
- spring boot maven管理--使用spring-boot-starter-parent
- maven项目引入spring boot依赖之后filter不生效的问题