I am trying to create a run configuration for a spring boot app, but Intellij can't find the main class of the spring boot app (Usually it is automatically populated). I tried adding the class by searching the project structure, but Intellij won't let me add that application's main file to 'Main class' of the configuration. How can I make Intellij detect the class?
Project Directory:
rootfolder
> springBootBackEnd
> angularUI
I have the module set to 'rootfolder' and the content root is the rootfolder