I have maven spring boot project generated in spring initializer. Every time when I switch to this project in IntelliJ Idea project doesn't open correct. It means every java classes have red J icon until I click with right mouse button on project and go into Run Maven > Reimport
When I switch to another projects which are maven spring boot projects as well, projects are open correctly. I have problem only with this one. Do you have idea how to fix it without reimport every time when I open project?
Thank you.