List of usage examples for org.springframework.boot.loader.tools MainClassFinder findSingleMainClass
public static String findSingleMainClass(JarFile jarFile, String classesLocation, String annotationName) throws IOException
From source file:org.springframework.boot.loader.tools.Repackager.java
protected String findMainMethod(JarFile source) throws IOException { return MainClassFinder.findSingleMainClass(source, this.layout.getClassesLocation(), SPRING_BOOT_APPLICATION_CLASS_NAME); }