第1章 Spring Boot介绍和环境搭建
1.Spring Boot是什么?
Spring Boot是由Pivotal团队提供的全新框架,其设计目的是用来简化新Spring应用的初始搭建以及开发过程。该框架使用了特定的方式来进行配置,从而使开发人员不再需要定义样板化的配置。从最根本上来讲,Spring Boot就是一些库的集合,它能够被任意项目的构建系统所使用。
2.前置准备
如果想学习Spring Boot,需要先预先完成JavaSE,JavaEE的学习,至少要知道B/S结构应用程序的交互原理和一些基本的代码处理。最好是学习过Spring框架和某个持久层框架(Hibernate,Mybatis等),掌握SQL语句,同时掌握Maven环境的基础使用
3.前置环境
本系列文章基于如下
开发环境:JDK1.8,Maven3.5
IDE:Eclipse Oxygen 4.7.3 (March 2018)
数据库:MySQL5.7
4.下载安装springsource-tool-suite(sts)
a.可以通过Eclipse在线市场安装,点击Help->Eclipse Marketplace

进入后搜索sts,点击安装即可

b.可以通过下载离线包进行安装,打开网站Spring Tools

选择自己IDE匹配统的Tools版本下载。(点击Help->About Eclipse查看版本号,寻找对应的Spring Tools离线包)


如果IDE的版本不够新,需要升级Eclipse或者通过已有连接来推测下载链接,比如4.7.3的下载链接spring tool suite3.9.3 for e4.7.3
(建议下载新版本Eclipse)
下载离线包后打开Eclipse,点击Help->Install New Software,打开窗口后点击Add进行安装

点击Local选择下载后的zip包所在文件夹,点击Archive选择下载后的zip文件,前方的Name随意输入一个名字,Location文本框会自动填充内容,不用更改。

点击OK后按照提示步骤正常安装即可。



等待安装进度执行完毕

选择“Install anyway”

点击“Restart Now”重启Eclipse

重启后可见安装成功
