一、环境介绍:
- springboot:2.1.8
- poi:3.10
- Java:1.8
- maven:3.3.9
- mybatis:1.3.1
二、搭建步骤:
- 引入POI的maven依赖
<dependencies>
<!--poi导入导出-->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.10-FINAL</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.10.1</version>
</dependency>
</dependencies