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.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-17 21:26:28 +0000
Seen: 11 times
Last updated: May 17 '23
Why can't IntelliJ IDEA detect the Kotlin multiplatform library?
While building an Android APK file with Ionic Cordova, Firebase Crashlytics displays an error.
Why is androidTest not providing any output?
How can I resolve the issue of task 'app:compileFlutterBuildRelease' execution failure?
How can I import UVCCamera samples into Android Studio?
Why isn't the date picker dialog displayed in an Android fragment using Kotlin in Android Studio?
What does "UnknownConfigurationException" mean in regards to the Gradle Lombok plugin version 8.0.1?