19

我有一个 Maven 项目,我正在尝试在 Eclipse 中构建/运行,但出现以下错误。我该如何执行错误提示并添加 -e 或 X 开关以尝试解决此问题?

[ERROR] Failed to execute goal org.bsc.maven:maven-processor-plugin:2.0.5:process (process) on project glw-crm: Error executing: NullPointerException -> [Help 1]
[ERROR] 
[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.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

我正在使用 Eclipse Indigo(64 位)和 m2e 1.0.1

4

2 回答 2

32

您应该检查Debug Outputm2e 配置:

窗口 -> 首选项 -> Maven -> 调试输出

于 2012-05-02T20:09:26.177 回答
2

从 IntelliJ 2019.2.2 开始

文件 -> 设置 (Ctrl + Alt+ S) -> 构建、执行、部署 -> 构建工具 -> Maven -> 输出级别:调试

于 2019-09-17T16:27:31.743 回答