Run Maven Debug Mode

Run Maven Debug Mode

It’s very important to know that how to run maven in debug mode because when you run maven in normal mode it won’t shows much stack trace in case in error so that it is very difficult to find root cause of the issue. For example I will run “mvn install” from command prompt where it fails due to some reason with below few details:

Run Maven Debug Mode

  • To see full stack trace of error please use command “mvn -X install”. You will see it gives full stack trace of the error and we can easily find out the issue:

Run Maven Debug Mode

  • To resolve mvn install issue using command prompt please follow this tutorial

Leave a Reply

Your email address will not be published. Required fields are marked *