I\'m trying to import the Maven projects from IntelliJ button (the one with the arrows in circle), but I get the following message \"Unable to import maven project. See logs for
This worked for me
Go to: File > Settings > Build,Execution,Deployment > Build Tools >
Maven > Importing
Change: JDK for importer
to your installed JDK
instead of IDEA's internal JRE (Use Internal JRE
from
../JetBrains/IntelliJ IDEA/jre64
)
Also searching in IDEA log files helped me. I found this message:
Caused by: java.io.IOException: Cannot run program "C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.2\jre64\bin\java" (in directory "C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.2\bin"): CreateProcess error=2, File not found