Eclipse:使用-X开关重新运行Maven以启用完整的调试日志记录

时间:2021-12-04 23:11:18

I have a Maven project I'm trying to build/run in Eclipse but I'm getting the error below. How do I do what the error suggests and add the -e or X switches to try to troubleshoot this?

我有一个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

I'm using Eclipse Indigo (64 bit) and m2e 1.0.1

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

1 个解决方案

#1


28  

You should check Debug Output in m2e configuration:

你应该检查m2e配置中的Debug Output:

Window -> Preferences -> Maven -> Debug Output

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

#1


28  

You should check Debug Output in m2e configuration:

你应该检查m2e配置中的Debug Output:

Window -> Preferences -> Maven -> Debug Output

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