gpt4 book ai didi

java - 无法使用 IntelliJ 从 github 拉取项目

转载 作者:行者123 更新时间:2023-11-30 06:03:31 25 4
gpt4 key购买 nike

我正在尝试使用 Intellij Idea 2018 Ultimate 从 github 中提取 Spring Boot 项目。

我是这样做的:

1.单击 IntelliJ 中的版本控制中的“ checkout ”

2.从github复制链接

3.拉取完成

enter image description here

enter image description here

enter image description here

问题是,从 git hub 拉取后,我的所有依赖项都是红色的(在所有内容上都显示“无法解析...”)。

enter image description here

github项目结构屏幕: enter image description here

我的 friend 和我一样拉了项目,他没有这种问题。

谁能告诉我什么可能导致这种行为?

最佳答案

我认为问题在于导入无法识别 Maven 依赖项。

右键单击 pom.xml > Maven > 重新导入,这样就可以修复错误。

关于java - 无法使用 IntelliJ 从 github 拉取项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51812890/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com