Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The error "resolveMainClassName FAILED" in a Gradle project with multiple SpringBootApplications typically means that Gradle is unable to determine the main class to use for the project.

This error can occur when there are multiple main classes in the project or when the main class is not properly configured in the Gradle build file. To resolve this error, you will need to make sure that the main class is correctly specified in the Gradle build file.

You can also try running the Gradle build with the "--info" or "--debug" flag to get more information about the error and identify the root cause.