【发布时间】:2020-10-08 20:41:21
【问题描述】:
我正在尝试将 Spring Boot 添加到 maven 项目中,但我收到以下错误,它没有被重新识别并允许我添加依赖项 “未找到依赖项 'org.springframework.boot:spring-boot-starter-web:2.3.1.RELEASE'” Here is an image of my dependencies block in the pom.xml file. 我不确定我做错了什么。
【问题讨论】:
-
添加 spring boor parent 并检查。参考spring.io/guides/gs/spring-boot
-
您在使用 IntelliJ 2020 吗?
-
我的讲座录音中的讲师刚刚将其添加到他的 pom.xml 中,而无需事先安装任何东西? @KathirvelSubramanian
-
@stdunbar 是的,我是。
标签: java spring-boot maven intellij-idea