Intellij maven imports have broken classpath

后端 未结 7 2254
情话喂你
情话喂你 2021-02-14 01:50

I\'m using Intellij 13, I\'ve been using Maven quite happily for awhile now to manage the JAR dependencies.

But the last few I\'ve imported are causing a broken classpat

7条回答
  •  旧时难觅i
    2021-02-14 02:07

    I had this problem with the Community version of IntelliJ Community edition. I was able to solve the problem using this process:

    1. Click "Help" menu
    2. Click "Find Action" and type "Maven Settings."
    3. Click "Maven Settings."
    4. Click the arrow next to "Maven" on the left hand side, to see the submenu
    5. Click "Importing"
    6. Check "Import Maven Projects automatically" and click "OK."

    This should pull in all of the Maven dependencies from the pom.xml file, without you needing to manually add the libraries.

    I hope this helps.

提交回复
热议问题