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

标签 eclipse maven maven-2 m2eclipse m2e

我有一个要在Eclipse中构建/运行的Maven项目,但在下面却遇到了错误。如何处理错误提示并添加-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

最佳答案

您应该在m2e配置中检查Debug Output

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

关于eclipse - Eclipse:使用-X开关重新运行Maven以启用完整的调试日志记录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10419359/

相关文章:

java - 自动检测 Java 中存在潜在性能问题的循环

安卓工作室 3.1 : updating gradle file cause android studio to freeze

maven-2 - MAVEN : No plugin found for prefix 'dependency' in the current project and in the plugin groups [org. apache.maven.plugins, org.codehaus.mojo]

java - 如何将maven项目版本放入war文件 list 中?

java - 使用有问题的 wsdl 的服务 - 意外的元素异常

java - Eclipse 没有启动?如何保存我的项目?

java - Eclipse 默认自定义格式化程序

tomcat - 使用 IntelliJ 在 webapp 运行配置中使用 Maven 覆盖?

java.lang.AssertionError : expected: org. json.JSONObject< {"feedback":[]}> but was: org. json.JSONObject< {"feedback":[]}>

java - 我的 Java 项目是否有任何自动指标收集器?