How to Use JasperReport for Doc

I am using this Code but it is giving error:-
error: cannot find symbol
AWDocxExporter exporter = new AWDocxExporter();
for above line.

AWDocxExporter exporter = new AWDocxExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, byteArrayOutputStream);
exporter.exportReport();
ouputStream.write(byteArrayOutputStream.toByteArray());



Could you resolve this issue.

Hi there,

Thanks for your inquiry. Could you please attach your .jrprint file here for testing? We will investigate the issue on our side and provide you more information.

you can take any jrxml file there is no any error or Exception.If Class is compiling AWDocExporter class is not finding.I have also import
import com.aspose.words.jasperreports.*;
include path in this file.Please resolve asap.

Hi there,

Thanks for your inquiry. In case you are using older version of Aspose.Words for JasperReports, we suggest you please upgrade to the latest version of Aspose.Words for JasperReports 2.3.0. Please read following link for your kind reference.
Integration of Aspose.Words for JasperReports with JasperReports and JasperServer

Please create a standalone Java application (source code without compilation errors) that helps us reproduce your problem on our end and attach it here for testing.