org.codehaus.plexus.classworlds.realm.NoSuchRealmException

(Last Updated On: August 11, 2016)

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.

Solution:

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…………!!!

 

 

 

 

 

 

 

 

 

188 total views, 3 views today

Leave a Reply

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