springboot_启动类的入口

package com.qbsea.myspringboota;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
@SpringBootApplication
public class MainClient {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(MainClient.class, args);
//        context.close();
    }
}

你可能感兴趣的:(springboot_启动类的入口)