I tried mvn clean install in Intellij. But it raise this error. image 1
mvn -version command works fine in the terminal of intellij.
It worked when I set JAVA_HOME
and use command prompt for executing mvn clean install. The problem with the IntelliJ
is we can't add bin path of the JDK. Is there a way to solve this? Image