1、show dependencies
<dependencies>
<!--springboot自动重启,热部署-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional><!--别的项目依赖该项目 使之不传递依赖-->
</dependency>
<!--web模块,里面有tomcat 启动后可以web访问-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!--MyBatis Spring-Boot-Starter will help you use MyBatis with Spring Boot-->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.0.1</version>
</dependency>
<!--mysql driver-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<!--有啥用暂时不知道-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!--对象转json用的,会和lombok冲突,先注释了-->
<!--<dependency>-->
<!--<groupId>