Home Navigation

Thursday 22 September 2016

Common errors in maven projects

 1. -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.
  • To get rid of this issue go to window->preference->Installed JRE’s and click the default one and then click on edit
  • Type the below text in Default VM    
    -Dmaven.multiModuleProjectDirectory=%M2_HOME%

No comments:

Post a Comment