intellij idea中-X和-e開關在哪裡打開 (Where to open the -X and -e switch in intellij idea)


問題描述

intellij idea中‑X和‑e開關在哪裡打開 (Where to open the ‑X and ‑e switch in intellij idea)

當我使用 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 切換。


參考解法

方法 1:

You can create a Run/Debug Configuration for your maven plugin, and in the field Command line you can enter the options. This is an example which is equivalent to the command line call mvn ‑e ‑X clean package :

enter image description here

(by user1900344JimHawkins)

參考文件

  1. Where to open the ‑X and ‑e switch in intellij idea (CC BY‑SA 2.5/3.0/4.0)

#maven #intellij-idea






相關問題

jslint-maven-plugin 1.0.2-SNAPSHOT 存儲庫 (jslint-maven-plugin 1.0.2-SNAPSHOT repository)

當 Action 類位於單獨的 jar 文件中時,Struts 2 驗證失敗 (Struts 2 Validation failing when Action class sits in a separate jar file)

Marklogic 是否有 liquibase 等價物 (Is there a liquibase equivalent for Marklogic)

Jenkins插件開發不適用於maven 2 (Jenkins plugin development not working with maven 2)

無法構建 CloudHopper (SMPP) (Cannot build CloudHopper (SMPP))

如何使用 Maven 在目標(SVN-)服務器上創建 Javadoc? (How to create Javadoc on the target (SVN-) server using Maven?)

sbt 相當於 maven exec 插件 (sbt equivalent of maven exec plugin)

從 Ecplise 運行 Mule 應用程序時出現 NoSuchMethodError 異常 (NoSuchMethodError exception when run Mule Application from Ecplise)

intellij idea中-X和-e開關在哪裡打開 (Where to open the -X and -e switch in intellij idea)

無法在項目上執行目標 org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test)。 (Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.)

通過 Maven 運行 Tomcat 時如何將其綁定到特定接口? (How do you bind Tomcat to a specific interface when running it through Maven?)

如何配置必須使用“密碼”授權類型從授權服務器請求令牌的客戶端 Java 應用程序? (How do I configure a client Java application which must request a token from an authorization server using a 'password' grant type?)







留言討論