Setup Maven for IntelliJ 13

心不动则不痛 提交于 2019-12-24 20:14:16

问题


Maven was installed and was working just fine before with my previous versions of IntelliJ Idea.

I just installed the trial version on IntelliJ 13 and my existing maven project stopped working!

The error was:

No valid Maven installation found.

回答1:


The easiest solution was to set the Maven Home Directory manually in your to your executable mvm location [/usr/local/maven] in my case.

Other solutions I came across needs a reboot.

Alternative solution here:

  1. M2_HOME not being picked by IntelliJ Idea
  2. Setting environment variable in OS X


来源:https://stackoverflow.com/questions/20486881/setup-maven-for-intellij-13

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!