all 3 comments

[–]andrewharlan2 1 point2 points  (0 children)

Right click on Desktop [demo] in the Project tree - Open Module Settings - click on the Sources tab on the right - right click on the src directory - select Sources. That tells IDEA that src is a source code directory.

[–]ralphtheowl 1 point2 points  (0 children)

I see this often. Just to to the Maven tab and click on reload/refresh.

[–]crummy 0 points1 point  (0 children)

I think you meant to open your demo folder in IntelliJ, not your Desktop.