No idea why this happens and the errors are sort of sporadic. either it won't start the app or it'll refuse to recompile things. I don't know. In all instances adding public to the class cntainign the main method fixes it. My ask is that either Devtools handles non public main classes or that the generated code on the Spring Initializr not generate classes that are packae private