使用Aspose将word文档转换成pdf格式
1、下载jar包 asposewords15.8.0jdk16.jar 2、安装jar包 mvn install:install-file -Dfile=aspose-words-15.8.0-jdk16.jar -DgroupId=com.aspose -DartifactId=aspose-words -Dversion=15.8.0 -Dpackaging=jar 3、在pom中引入包的路径 <dependency> <groupId>com.aspose</groupId> <artifactId>aspose-words</artifactId> <version>15.8.0</version> </dependency> 4、创建license.xml文件 在resources目录中创建static文件夹中创建license.xml <?xml version="1.0" encoding="UTF-8" ?> <License> <Data&g....