1.安装OpenOffice
去官网下载OpenOffice http://www.openoffice.org/
2.添加Maven依赖
<dependency>
<groupId>org.jodconverter</groupId>
<artifactId>jodconverter-spring-boot-starter</artifactId>
<version>4.4.0</version>
<!-- Web 应用程序中集成 JODConverter中用到这个依赖-->
</dependency>
<dependency>
<groupId>org.jodconverter</groupId>
<artifactId>jodconverter-local</artifactId>
<version>4.4.0</version>
</dependency>
<!-- 不要core依赖&