1. 确认spring-boot-starter-parent的版本号是否正确 首先,检查pom.xml文件中spring-boot-starter-parent的版本号是否正确。如果版本号不正确或已经过时,您可能会遇到依赖解析问题。您可以通过访问Spring Boot的官方发布页面或Maven中央仓库来查找当前支持的最新版本。
在maven项目中若要导入SpringBoot,父级依赖的spring-boot-starter-parent通常都会出现Project version>2.6.6</version>报红 解决方法: File -> Invalidate Caches / Restart... -> Invalidate and Restart就能解决了。 总结: 当然,这相当于把IDEA清除缓存重启了,这只是其中一种方法,也是最简单的....
在pom.xml中配置springBoot有时会爆红,如下代码 <parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>2.4.1</version></parent><build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifact...
Project 'org.springframework.boot:spring-boot-starter-parent:2.6.5' not found 解决办法:_牛客网_牛客在手,offer不愁
<artifactId>spring-boot-starter-parent</artifactId> <version>2.4.1</version> </parent> 在网上看了解决方法 1.修改maven的setting文件,配置国内阿里库 2.改变(降低)为某版本(没试,可能有效) 自己本地方法1.没有效果(本来就设的阿里源),2.不想因此改变版本 ...
如果项目没有指定版本号,则可以使用spring-boot-starter-parent依赖中的版本号作为参考。三、网络问题另外,如果本地网络存在问题,可能会导致Maven无法从远程仓库下载插件。在这种情况下,我们可以尝试更换Maven的远程仓库或者检查网络连接是否正常。四、IDE问题有时候IDE(如IntelliJ IDEA或Eclipse)会出现缓存问题,导致插件爆...
<artifactId>spring-boot-starter-parent</artifactId> <version>2.2.1.RELEASE</version> </parent> <!-- 定义本项目的依赖关系 --> <dependencies> <!--Spring Boot核心,包括自动配置支持,日志和YAML --> <dependency> <groupId>org.springframework.boot</groupId> ...
换了⼀台电脑,重新进⾏idea安装配置。然后打开原来的项⽬结果引⼊spring-boot-maven-plugin出现爆红,⽽且spring-boot-starter-parent也不能引⼊。⼆、解决办法 1.检查环境配置,主要是settings.xml此⽂件配置情况是否正确,是否加⼊阿⾥云镜像。最好⽤idea⼯具打开检查⼀下是否规范,此次我的...
Starter是Spring Boot的四大核心功能特性之一,除此之外,Spring Boot还有自动装配、Actuator监控等特性。Spr...