intellij idea - maven is not a valid Maven home directory -


i error message when try run code. default maven home directory m2 folder. tried using override , selected maven files in m2 folder , still gave me error message. i'm unsure how fix appreciated.i

maven not valid maven home directory

this error message means folder named "maven" you've chosen not contain maven installation.

the default maven home directory m2 folder.

normally, default you'll see either embeded maven or value of m2_home environment variable. makes me think maven not configured correctly on machine.

in command prompt, see m2_home points run: echo %m2_home% make sure value either empty or points maven installed. finally, make sure maven installed in folder different .m2 (where stores settings).


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -