Spring boot project imported in intellij not working
You need to download libraries so right click project, go to "Maven" option in menu then click "ReImport" or "Download Sources and Documentation" option in sub menu. It will download libraries.
I tried this and it worked, "Right click on the pom.xml file", and select "Add as maven project"
It should resolve or reimport all the dependencies, and it should work.