IntellijIDEA not recognizing classes specified in Maven dependencies

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

    I was running into similar issues. For me it ended up being that I was importing the project incorrectly. I had been doing

    import project
        
        follow the wizard
    

    What solved my maven problems was to do

    import project
        

提交回复
热议问题