提问人:trungluong 提问时间:11/16/2023 更新时间:11/16/2023 访问量:19
如何声明 pom 以使用 Docx4J Export FO 版本 11.4.9 [已关闭]
How to declare pom to use Docx4J Export FO version 11.4.9 [closed]
问:
如何声明 pom 以使用 Docx4J Export FO 版本 11.4.9 我需要从 DOCX 生成 PDF(带有图像、标题..)。 我声明如下,但仍然无法运行它,因为我遇到许多不同的错误
<!-- https://mvnrepository.com/artifact/org.docx4j/docx4j-export-fo -->
<dependency>
<groupId>org.docx4j</groupId>
<artifactId>docx4j-export-fo</artifactId>
<version>11.4.9</version>
</dependency>
<!-- https://mvnrepository.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api -->
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>3.0.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.xmlgraphics/fop -->
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>fop</artifactId>
<version>2.7</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.docx4j/docx4j-core -->
<dependency>
<groupId>org.docx4j</groupId>
<artifactId>docx4j-core</artifactId>
<version>11.4.9</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.plutext/jaxb-xslfo -->
<dependency>
<groupId>org.plutext</groupId>
<artifactId>jaxb-xslfo</artifactId>
<version>11.4.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.0-alpha6</version>
</dependency>
答: 暂无答案
评论