gusamasan Posted September 21, 2010 Share Posted September 21, 2010 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.JROpenDocumentExporter.createFilter(Ljava/lang/String;)Lnet/sf/jasperreports/engine/export/ExporterFilter; What i can do?Thank you, in advance. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now