Encountered the same issue and was able to fix it by the following the steps listed below:
- File -> Invalidate Cache and Restart
- File -> New -> Project from existing source
- Select the pom.xml file just (not the whole project directory) to load the project. Project will be setup automatically.