search

Home  >  Q&A  >  body text

java - Error in converting Word to PDF using docx4j3.2. Been struggling for a day. Please give me some advice! ! ! !


OutputStream os = new java.io.FileOutputStream(outputfilepath);

Docx4J.toFO(foSettings, os, Docx4J.FLAG_EXPORT_PREFER_XSL);
This finally reported an error.

曾经蜡笔没有小新曾经蜡笔没有小新2747 days ago705

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-17 10:04:34

    I have solved it with the help of a friend. It was an error caused by the lack of jar package and the wrong jar version.

    reply
    0
  • Cancelreply