我在 IntelliJ IDEA 中遇到问题,具体如下:

问题描述 投票:0回答:1
"unresolved plugin": 'org.apache.maven.plugins:maven-surefire-plugin:2.22.2'
"unresolved plugin": 'org.codehaus.mojo:wagon-maven-plugin:1.0'
"unresolved plugin": 'com.spotify:docker-maven-plugin:0.4.14'
"unresolved plugin": 'org.apache.maven.plugins:maven-resources-plugin:3.2.0'
"unresolved plugin": 'org.apache.maven.plugins:maven-jar-plugin:3.2.2'
"unresolved plugin": 'org.apache.maven.plugins:maven-install-plugin:2.5.2'
"unresolved plugin": 'org.apache.maven.plugins:maven-deploy-plugin:2.8.2'"And even after applying the steps outlined in the link: https://stackoverflow.com/questions/20496239/maven-plugins-can-not-be-found-in-intellij/44883900#44883900, the problem remains unsolved, and moreover, several plugins are not found within my local repository."Can anyone help me? Thanks

IntelliJ 中找不到 Maven 插件

java maven intellij-idea plugins
1个回答
0
投票

这可能是 在 IntelliJ 中找不到 Maven 插件的重复

从第一个操作开始尝试以下操作,如果不起作用,请继续执行下一个操作:

  • 强制maven重新导入

  • 使缓存无效(文件 -> 使缓存无效...)
  • 删除
    ~/.m2/repository
    目录中的内容
© www.soinside.com 2019 - 2024. All rights reserved.