springboot基本依赖
<dependencies>
<!--=================================================默认基础==============================================-->
<dependency>
<groupId></groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId></groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!--==============================================基本辅助框架=================================================-->
<!--热部署框架(修改java代码及时更新)-->
<dependency>
<groupId></groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
</dependency>
<!--lombok简化实体类操作(getset方法以及各种构造器等)-->
<dependency>
<groupId></groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<!-- log4j2日志(log4j的升级版,目前最好的日志框架,注意还有排除依赖,以及相关依赖的导入) -->
<dependency>
<groupId></groupId>
<artifactId>spring-boot-starter-log4j2</artifactId>
</dependency>
<!-- 排除掉exclude spring-boot的默认log日志框架配置 -->
<dependency>
<groupId></groupId>
<artifactId>spring-boot-starter</artifactId>
<exclusions>
<exclusion>
<groupId></groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- log4j2-yml(yml配置文件需要的依赖) -->
<dependency>
<groupId></groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
</dependency>
<!--AOP切面编程(切面日志,各种增强等)-->
<dependency>
<groupId></groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<!--fastjson(阿里巴巴的json转换框架)-->
<dependency>
<groupId></groupId>
<artifactId>fastjson</artifactId>
<version>1.2.51</version>
</dependency>
<!--jsoup(经过封装后的网页数据抓取框架插件)-->
<dependency>
<groupId></groupId>
<artifactId>jsoup</artifactId>
<version>1.11.3</version>
</dependency>
<!--==============================================web相关=================================================-->
<!--web组件-->
<dependency>
<groupId></groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!--thymeleaf百里香叶页面-->
<dependency>
<groupId></groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
</dependencies>