Eclipse: Re-run Maven using the -X switch to enable full debug logging

﹥>﹥吖頭↗ 提交于 2019-12-03 12:19:26

问题


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


回答1:


You should check Debug Output in m2e configuration:

Window -> Preferences -> Maven -> Debug Output




回答2:


As of IntelliJ 2019.2.2

File -> Settings (Ctrl + Alt+ S) -> Build, Execution, Deployment -> Build Tools -> Maven -> Output Level: Debug



来源:https://stackoverflow.com/questions/10419359/eclipse-re-run-maven-using-the-x-switch-to-enable-full-debug-logging

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!