Maven M2_HOME set to an invalid directory (Windows 7)

后端 未结 16 2340
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-06 00:59

I\'ve tried installing Maven to Windows 7 with poor results. Some basic info:

Maven installation directory: C:\\Program Files\\Apache Software Foundation\\ap

16条回答
  •  清歌不尽
    2020-12-06 01:26

    Get rid of the env variable M2_HOME. It is not used by maven 3, and in fact, confuses it. If you had used it in your path, then either define the path to maven bin explictly, or change it to something else - like M3_HOME.

提交回复
热议问题