opensagres / xdocreport

XDocReport means XML Document reporting. It's Java API to merge XML document created with MS Office (docx) or OpenOffice (odt), LibreOffice (odt) with a Java model to generate report and convert it if you need to another format (PDF, XHTML...).
https://github.com/opensagres/xdocreport
1.19k stars 369 forks source link

Error: Cannot find converters from=ODT #587

Closed andreanaFelicione closed 1 year ago

andreanaFelicione commented 1 year ago

I'm triyng to generate an .odt file from a template and than convert it to pdf. I found this link that explain how to do that with XDocReport. But I have the error in subject. I think it could be an error generated becouse of the jar not completed. I'm using the last version 2.0.4 taken from maven central repository here (downloaded manualy with link of jar because my application doesn't use maven). This jar has no dependencies, hasn't it? I also tried to download the jars of the two modules "odtandfreemarker-1.0.4-sample.zip" and "odt.converters-1.0.4-sample.zip" from your legacy page here. Nothing works and I have always the same error.

Help me please!

andreanaFelicione commented 1 year ago

After I don't know how many hours, I found solution from myself. I saw in Eclipse that the reference list of xdocreport-2.4.0-jar there are not any jar that are included in zip files downloaded from your old google archive that I mentioned above. Basically xdocreport-2.4.0-jar includes only the fr.opensagres.* jars . So the winner combo is: