创建springboot的时候报错,有人知道怎么解决吗

yigerendeshiguang yigerendeshiguang 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
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
...全文

相关推荐

SpringBoot集成MybatisPlus报错的解决方案

然而,在将MybatisPlus集成到SpringBoot项目中时,可能会遇到各种报错情况。下面我们将详细介绍SpringBoot集成MybatisPlus报错的解决方案。

weixin_38523618

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报错解决方案,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下

weixin_38677044

Springboot整合Gson报错问题解决过程

Springboot整合Gson报错问题解决过程在本文中,我们将详细介绍Springboot整合Gson报错问题解决过程,通过示例代码详细介绍了报错问题的解决方法,对大家的学习或者工作具有一定的参考学习价值

weixin_38649315

SpringBoot导入mail依赖报错问题解决

综上所述,SpringBoot中导入mail依赖报错问题的解决方法主要涉及配置Maven的settings.xml文件,添加和配置镜像资源,并通过Maven工具强制更新项目依赖。

weixin_38722184
评论 10
收藏 已收藏
分享
返回顶部
yigerendeshiguang
Java 51,407 成员 86,127 内容