Unable to import maven project in IntelliJ14

后端 未结 10 1522
一向
一向 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条回答
  •  心在旅途
    2021-02-01 01:53

    In my case I'd just upgraded my OS (OSX) and doing so deleted my JDK, so Intellij was quietly failing. Following @JeanValjean's advice meant that the project was no longer loadable at all (I couldn't get to JVM preferences). Looking in ~/Library/Logs/IntelliJIdeaXX/idea.log told me the problem and deleting ~/Library/Caches/IntelliJIdeaXX and ~/Library/Preferences/IntelliJIdeaXX/options/jdk.table.xml let me open the project again and fix the path to the JDK.

提交回复
热议问题