I created a new Spring project in IntelliJ Ultimate 2019.2 via the Spring Initializr as a Maven Project and when I try to annotate any of my classes with Spring annotations IntelliJ does not recognize them ("Cannot resolve symbol 'Controller'"). The pom has the relevant dependencies and if I manually import the class the annotation is recognized.
I tried finding a solution online but from what I could tell there is noone else with this specific problem.
To fulfill the requirement of this being a question: How do I configure IntelliJ/Maven/Spring or whatever my be responsible for this mishap to appropriately show and import the respective Spring classes?
Please check the following settings: Preferences | Editor | General | Auto Import | Exclude from import and completion list. In case import becomes resolved after you type it manually, but not suggested/completed by IntelliJ IDEA, probably you've added some of the Spring libs to the exclusion list.