IntelliJ : if java class cannot be found during “Make”

Make sure that in “Project Structure” (Ctrl+Alt+Shift+S) > Modules > Source Folders :
same folder is not specified twice (ex: src/main & src)

Leave a comment