Domanda

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.
È stato utile?

Soluzione

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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top