Root cause:

Maven path might not be set properly, particularly if you would have set the maven path till maven folder rather than maven\bin folder, you will get this error.


During path setting via command prompt or system properties -> Environment variables you have to do like below,

valid maven path:

variable name: m2_home

value: c:\apache-maven-3.0.4 (Valid)

Invalid maven path:

variable name: m2_home

c:\apache-maven-3.0.4\binĀ  (invalid and it throws the error as like above).


Thanks for reading this post…………!!!










276 total views, 0 views today

Leave a Reply

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