IntellijIDEA not recognizing classes specified in Maven dependencies

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

    I've encountered a similar issue after refactoring my maven project into different modules. Re-importing on it's own usually doesn't work, but I've found that deleting the .iml files and then re-importing usually does the trick.

提交回复
热议问题