I have a Spring Project in which I am using Maven to manage my dependencies. I have some (5 to 10) packages mentioned inside the POM-File and Maven is successfully downloading them into my local repository.
But IntelliJ is not recognizing these packages. Not even the SpringBoot-Packages.
I have tried different things:
- Delete local Maven-Repository
- Create a new Project inside IntelliJ from existing Sources but with the same Directory as the original Project
- Create a new Project inside IntelliJ from existing Sources but I have copied the
src-Folder and the POM-File to a new Directory first
Why is IntelliJ not recognizing the Maven-Dependencies?
P.S.: The Maven-Build is successful. So Maven IS recognizing the packages inside the repository.
java: package org.aspectj.lang does not exist