安装sts插件
Help --> eclipse Marketplace --> search --> Spring Tool Suite --> Install
安装后需要重启eclipse才能生效
创建springboot项目
File --> New --> Other --> Spring Boot --> Spring Starter Project --> Finish
目录结构如下:
运行hello world
* 项目(右键) --> new --> Package --> controller --> 项目(右键) --> Refresh
* controller包(右键) --> new --> Class --> Application
-------------------------------------------------------
package com.hrjlk.controller;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplic