IntelliJ 14.1.5: Unable to import maven project
After a recent IntelliJ upgrade I’ve been running into the following error when trying to attach the sources of any library being pulled in via Maven:
Unable to import maven project
It seems like this is a recent issue in the 14.x series and luckily is reasonably easy to fix by adding the following flag to the VM options passed to the Maven importer:
-Didea.maven3.use.compat.resolver
And this is where you need to add it:
Cmd + , -> Build, Execution, Deployment -> Build Tools -> Maven -> Importing
About the author
I'm currently working on short form content at ClickHouse. I publish short 5 minute videos showing how to solve data problems on YouTube @LearnDataWithMark. I previously worked on graph analytics at Neo4j, where I also co-authored the O'Reilly Graph Algorithms Book with Amy Hodler.