1.新建Maven项目
2.pom文件导入
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
3.编写主启动类
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class,args);
}
}
4.编写主配置类
标签:Springboot,新建,离线,boot,springframework,spring,org,starter
From: https://www.cnblogs.com/NIAN2011/p/16633414.html