创建springboot的时候报错,有人知道怎么解决吗
pom.xml中的代码
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.3.0.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
parent处报错:
Project build error: Non-resolvable parent POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.3.0.RELEASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.3.0.RELEASE from/to central (http://repo1.maven.org/maven2): Connect times out and 'parent.relativePath' points at wrong local POM
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.3.0.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
parent处报错:
Project build error: Non-resolvable parent POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.3.0.RELEASE from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.3.0.RELEASE from/to central (http://repo1.maven.org/maven2): Connect times out and 'parent.relativePath' points at wrong local POM
...全文
相关推荐
SpringBoot集成MybatisPlus报错的解决方案
然而,在将MybatisPlus集成到SpringBoot项目中时,可能会遇到各种报错情况。下面我们将详细介绍SpringBoot集成MybatisPlus报错的解决方案。
eclipse创建springboot项目和springboot整合ssm
我们之前学过javaweb或者spring都知道依赖都是自己在pom.xml写的,springboot直接避免这一情况,选择你要导入的依赖即可,最初我们选择SpringWeb即可(在web里)但是后面我们要整合ssm于是我们还要在sql中选择mybatis framwork 和 mysql driver。注意:type这是你要创建springboot项目的类型,分别为maven,gradle,我们选择maven,同时你要创建Name:springboot_01_base_config。
SpringBoot Maven Clean报错解决方案
主要介绍了SpringBoot Maven Clean报错解决方案,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下
Springboot整合Gson报错问题解决过程
Springboot整合Gson报错问题解决过程在本文中,我们将详细介绍Springboot整合Gson报错问题解决过程,通过示例代码详细介绍了报错问题的解决方法,对大家的学习或者工作具有一定的参考学习价值
SpringBoot导入mail依赖报错问题解决
综上所述,SpringBoot中导入mail依赖报错问题的解决方法主要涉及配置Maven的settings.xml文件,添加和配置镜像资源,并通过Maven工具强制更新项目依赖。


