Java开发中常用的工具类,包括但不限于对word、excel、html、pdf、网络文件等的操作
其中一些jar包可能在maven仓库中引用不到,可以将本地的jar导入到本地maven仓库中,jar包在somejars文件夹当中,导入方法如下:
mvn install:install-file -Dfile=C:\Users\xxx\Desktop\aspose-words-15.8.0-jdk16.jar -DgroupId=com.aspose.words -DartifactId=aspose-words-jdk16 -Dversion=15.8.0 -Dpackaging=jar
参照你在pom.xml中的依赖修改上述命令
<dependency>
<groupId>com.aspose.words</groupId>
<artifactId>aspose-words-jdk16</artifactId>
<version>15.8.0</version>
</dependency>