use*_*344 5 intellij-idea maven
当我使用intellij idea运行elasticsearch时,出现以下错误
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) on project elasticsearch: Resources archive cannot be found. Failure to find org.elasticsearch:dev-tools:jar:2.2.0-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of oss-snapshots has elapsed or updates are forced
Run Code Online (Sandbox Code Playgroud)
并给我一些提示:
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
Run Code Online (Sandbox Code Playgroud)
但我不知道在哪里使用 -e 和 -X 开关。
您可以为您的 Maven 插件创建一个Run/Debug Configuration,并在字段中Command line输入选项。这是一个相当于命令行调用的示例mvn -e -X clean package:
| 归档时间: |
|
| 查看次数: |
6711 次 |
| 最近记录: |