gpt4 book ai didi

maven - 在intellij idea中打开-X和-e开关的位置

转载 作者:行者123 更新时间:2023-12-01 02:01:06 25 4
gpt4 key购买 nike

当我使用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

并给我一些提示:

[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.


但我不知道在哪里使用 -e 和 -X 开关。

最佳答案

您可以创建一个 Run/Debug Configuration用于您的 maven 插件,以及在该领域 Command line您可以输入选项。这是一个等效于命令行调用 mvn -e -X clean package 的示例:

enter image description here

关于maven - 在intellij idea中打开-X和-e开关的位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36298249/

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