Maven M2_HOME set to an invalid directory (Windows 7)

后端 未结 16 2359
佛祖请我去吃肉
佛祖请我去吃肉 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:18

    Just now I faced the same issue. In my case the problem was that PATH wasn't set properly to include %M2_HOME%\bin. Once set properly, the problem was resolved.

    When you face such issues, please print the value of PATH on the command line to ensure that it's properly picking up the values.

提交回复
热议问题