首次使用IDEA创建maven项目出现“Dependency ‘org.springframework.boot:spring-boot-starter-web:‘ not found”等问题

问题描述:

 pom.xml里好几个spring-boot相关依赖底下有红线,显示Dependency 'org.springframework.boot:spring-boot-starter-freemarker:2.1.4.RELEASE' not found

 解决办法:

1.点击右侧边框上的Maven,选中Install,点击下载和安装

2.等待下载完成,需要一段时间,

3.全部下载完后左侧库中已有maven库

猜你喜欢

转载自blog.csdn.net/weixin_43042683/article/details/132254932