1.pom.xml中配置
<!--hutool 配置开始--> <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.7.20</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>4.1.2</version> </dependency> <!--hutool 配置结束-->
2.参考网址:https://www.javajike.com/book/hutool/chapter17/d756bb6ff75b83517d130dcd2696d0f8.html
3.