Eu tenho o seguinte erro ao executar o seguinte comando, tenho todas as bibliotecas e o ireport plugin, você pode me ajudar?
Mensaje de Error:Error loading object from file : C:\Users\User\Documents\NetBeansProjects\impresiononnix\src\impresiononnix\escarapela.jrxml
conexion db = new conexion();
String archivo=“C:\Users\User\Documents\NetBeansProjects\impresiononnix\src\impresiononnix\escarapela.jrxml”;
try{
JasperReport reporte= (JasperReport) JRLoader.loadObjectFromLocation(archivo);
Map parametro= new HashMap();
parametro.put("cedula", "[telefone removido]");
JasperPrint jp= JasperFillManager.fillReport(reporte,parametro,db.MySQLConnect());
JasperViewer jviewer= new JasperViewer(jp,false);
jviewer.setTitle("Escarapela");
jviewer.setVisible(true);
}
catch(JRException ex){
System.out.println("Mensaje de Error:"+ex.getMessage());
}