jesuselora16 Posted February 25, 2019 Share Posted February 25, 2019 Paso por aqui para tratar de corregir un inconveniente con jasperreport.Resulta que al momento de diseñar el reporte desde el plugin de Netbeans, el reporte se ve de manera adecuada, pero al momento de hacer el llamado del reporte desde un aplicativo java web, este se descuadra todo visualmente hablando.¿Conocen algún parámetro o algo que pueda ocasionar este comportamiento? O ¿alguna forma de mejorar la compatibilidad entre java y jasper?Reporte en Netbeans Link to comment Share on other sites More sharing options...
lozadaniel2020 Posted December 12, 2020 Share Posted December 12, 2020 bueno a mi me sale un error en el boton de reporte: net.sf.jasperreports.engine.JRException:java.io.FileNotFoundException:Ruta del jasper,y no veo el reporte, no se cual es el error sperPrint jasperprintdocente = JasperFillManager.fillReport("C:\Users\DANIEL\JaspersoftWorkspace\MyReports\ReporteDocente.jasper", null,llenardocente.conexion()); JRPdfExporter exportardocente = new JRPdfExporter(); exportardocente.setExporterInput(new SimpleExporterInput(jasperprintdocente)); exportardocente.setExporterOutput(new SimpleOutputStreamExporterOutput("ReporteDocente.pdf")); SimplePdfExporterConfiguration conf = new SimplePdfExporterConfiguration(); exportardocente.setConfiguration(conf); exportardocente.exportReport(); JasperPrint jasperimprimirdocente = JasperFillManager.fillReport("C:\Users\DANIEL\JaspersoftWorkspace\MyReports\ReporteDocente.jasper", null,llenardocente.conexion()); JasperViewer jasperViewer = new JasperViewer(jasperimprimirdocente); jasperViewer.setVisible(true); 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