2024-07-24

Spring Boot build install failed with error: Unable to find a single main class from the following candidates.

 




Caused by: java.lang.IllegalStateException: Unable to find a single main class from the following candidates



For my case, resolved by Maven clean goal.

Should be causing by multiple @SpringBootApplication in target folder.



Run As > Maven clean




No comments:

Google Referrals