0

Currently have a hard times working on one project. While building with maven I'm getting success but when I open the project all classes are red with unresolved dependencies and folder "External Libraries" contains only JDK classes. Does anyone know what might be the reason of this? Thanks in advance.

I'm using Intellij Idea 14.0.2 and Maven version 3.2.5

Mustafa
  • 2,447
  • 23
  • 31

1 Answers1

0

Enable auto reload for your pom file(s). intelliji doesn't do it automatcally unless you enable it. To do so, just open a pom file and you'll see a popup that asks you if you to enable auto relaod.

Iob
  • 114
  • 10
  • Thanks for comment but it didn't help – Mykola Kozhemiaka Jul 30 '15 at 07:42
  • You might have accidentally removed maven nature from your project. Can you try right clicking the `pom.xml` file and click Maven -> Reimport? It seems like IntelliJ is ignoring the pom.xml file completely. – Mustafa Aug 07 '15 at 18:45
  • For those still facing issues, you can refer to the answers in https://stackoverflow.com/questions/45442106/intellij-is-not-showing-external-libraries-in-project-tab – Sahil Apr 15 '21 at 04:51