Jump to content

OpenOffice-Ods export problem


gusamasan

Recommended Posts

 Hello, all.


I have the  code:

 

reporte = JasperFillManager.fillReport(

                                                    rutaReporte         ,

                                                    parametrosReporte   ,

                                                    new JRBeanArrayDataSource( listaDetalles ) );

 

 

ByteArrayOutputStream output = new ByteArrayOutputStream();

JROdsExporter exporterODS = new JROdsExporter();

exporterODS.setParameter( JRExporterParameter.JASPER_PRINT , reporte           );

exporterODS.setParameter( JRExporterParameter.OUTPUT_STREAM, output            );

exporterODS.exportReport();                

vectorReporte = output.toByteArray();

 

When i try execute it, i get the message:

 

Exception in thread "main" java.lang.NoSuchMethodError: net.sf.jasperreports.engine.export.oasis.JRO

penDocumentExporter.createFilter(Ljava/lang/String;)Lnet/sf/jasperreports/engine/export/ExporterFilt

er;

 

What i can do?


Thank you, in advance.

 

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...