Convert Word file(.docx) to PDF file using apache poi

We need apache poi JARs to convert word file to pdf file. If you are using maven project. Please add below dependencies in your pom.xml. <!– https://mvnrepository.com/artifact/org.apache.poi/poi –> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.13</version> </dependency> <!– https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml –> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>3.13</version>