title: How to export docx to png using docx4j?
body: <p>I'm using docx4j 3.3.0 and when I run the code below I get a ClassNotFoundException.</p>
  
  <pre><code>OutputStream os = new FileOutputStream(file);
  FOSettings settings = Docx4J.createFOSettings();
  settings.setWmlPackage(wmlPackage);
  settings.setApacheFopMime("images/png");
  Docx4J.toFO(settings, os, Docx4J.FLAG_EXPORT_PREFER_XSL);
  
  java.lang.ClassNotFoundException: org.docx4j.convert.out.fo.FOExporterXslt from [Module "org.docx4j-compat:main" from local module loader @19a1b0af (finder: local module finder @4656be4e (roots: C:\newton\jboss\modules,C:\newton\jboss\modules\system\layers\base))]
  </code></pre>
  
  <p>I'm sure I'm missing a dependency but I don't know what.</p>