Tag Archive

Tag Archives for " Main Class "

Spring Boot – Which main class to start

Spring Boot project contains multiple main classes; If you try tro run, it will fail to start or package for deployment with the below error message

How to fix this using Maven? pom.xml      Define the main class in <start-class> under properties

Or 2.     Define the main class in <mainClass> under configurartion […]

Continue reading