IntellijIDEA not recognizing classes specified in Maven dependencies

后端 未结 24 1913
醉梦人生
醉梦人生 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:00

    Might be useful to others that were still stuck like me. None of the suggested fix worked. Actually, not before I fixed my main problem which was the installation location of maven.

    In my case, I did not use the standard location. Changing that location in the maven settings (Settings/Maven/Maven home repository) did the trick.

    My 2 cents.

提交回复
热议问题