Eclipse:使用-X开关重新运行Maven以启用完整的调试日志记录 [英] Eclipse: Re-run Maven using the -X switch to enable full debug logging

查看:8168
本文介绍了Eclipse:使用-X开关重新运行Maven以启用完整的调试日志记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Maven项目,我试图在Eclipse中构建/运行,但是我收到以下错误。如何做出错误建议,并添加-e或X开关来尝试排除故障?

  [ERROR] Failed执行目标org.bsc.maven:maven-processor-plugin:2.0.5:project(process)on project glw-crm:执行错误:NullPointerException  - > [帮助1] 
[ERROR]
[ERROR]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。
[ERROR]使用-X开关重新运行Maven以启用完整的调试日志记录。
[ERROR]
[ERROR]有关错误和可能的解决方案的更多信息,请阅读以下文章:
[错误] [帮助1] http://cwiki.apache.org / confluence / display / MAVEN / MojoExecutionException

我使用的是Eclipse Indigo(64位)和m2e 1.0您应该在m2e配置中检查调试输出

解决方案

/ p>

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


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?

[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

解决方案

You should check Debug Output in m2e configuration:

Window -> Preferences -> Maven -> Debug Output

这篇关于Eclipse:使用-X开关重新运行Maven以启用完整的调试日志记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆