To convert docx to pdf, I want to do it with the latest method. I get help from this website.
https://simplesolution.dev/java-convert-docx-file-to-pdf-file-using-xdocreport/
I add the library to my project and test the code example. Finally I get this warning :
WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.lowagie.text.pdf.MappedRandomAccessFile$1 (file:/C:/Users/ToOpbOoy/.m2/repository/com/lowagie/itext/2.1.7/itext-2.1.7.jar) to method java.nio.DirectByteBuffer.cleaner() WARNING: Please consider reporting this to the maintainers of com.lowagie.text.pdf.MappedRandomAccessFile$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
I did not find anything about this warning on the Internet. What is this warning and how can it be solved?
I did the conversion with apache poi and itext libraries. But it does not convert correctly.