Searching for the main class. When building a Spring Boot application, the framework relies on the spring-boot-maven-plugin to package the project into an executable JAR. During the packaging phase, this plugin scans the compiled classes to locate the entry point—specifically the class annotated with @SpringBootApplication that contains the public static […]
Fixing main class ambiguity in Spring Boot