Intellij不关联依赖项

时间:2020-04-24 23:09:21

标签: macos maven intellij-idea

当我运行mvn clean install时 一切正常,但是当我打开单个文件时,它抱怨无法找到任何库

enter image description here

enter image description here 我检查了我的Maven配置,它指向公司的Artifactory,并且能够凭我的凭据进行逻辑处理:

enter image description here

我跑了Invalidate Caches/Restart...,但这没有帮助。 我检查了.bash_profile,看起来不错

export M2_HOME=/Users/lopezin/.m2
export MAVEN_HOME=/Applications/apache-maven-3.6.3
export PATH=$PATH:$MAVEN_HOME/bin

enter image description here

有人能想到发生这种情况的任何原因吗?

0 个答案:

没有答案