1.创建Maven工程,在pom文件中添加Springboot组件和导入依赖 2.创建主程序类:ApplicationHelloWord @SpringBootApplication注解是说明该类是一个springboot应用