IntellijIDEA not recognizing classes specified in Maven dependencies

后端 未结 24 1919
醉梦人生
醉梦人生 2021-01-30 12:57

I have a project in IntellijIDEA which was created with Maven. I then specified a set of dependencies and external repositories in the Pom.xml file.

The project builds

24条回答
  •  面向向阳花
    2021-01-30 13:17

    For some reason re-import did not do the trick. After looking at this:

    http://www.jetbrains.com/idea/webhelp/maven-importing.html

    I set auto-import and then the problem went away though; hopefully it helps someone else. Thanks for the ideas everyone :).

提交回复
热议问题