@SpringBootApplication
public class Application {
public static void main(String[] args) {
try {
SpringApplication.run(Application.class, args);
} catch (Exception e) {
e.printStackTrace();
}
System.out.println(Thread.currentThread().getStackTrace()[1].getClassName()
+"启动成功!");
}
}