Unable to import maven project in IntelliJ14

后端 未结 10 1491
一向
一向 2021-02-01 01:21

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

10条回答
  •  -上瘾入骨i
    2021-02-01 02:20

    This worked for me

    1. Go to: File > Settings > Build,Execution,Deployment > Build Tools > Maven > Importing

    2. 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

提交回复
热议问题