Skip to content

Devtools does not support package-private main classes #35858

@joshlong

Description

@joshlong

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions