Boa.
Tentando gerar um relatório…
try {
con.conecta();
con.exeSQL(FVCliente.sqlRelComanda);
System.out.println(FVCliente.sqlRelComanda);
JRResultSetDataSource jrRs = new JRResultSetDataSource(con.rs);
JasperPrint jasperPrint = JasperFillManager.fillReport("src/Relatorios/RelComanda.jasper", new HashMap(), jrRs);
JasperViewer.viewReport(jasperPrint, false);
} catch (Exception erro) {
JOptionPane.showMessageDialog(null, "ERRO AO CRIAR RELATÓRIO: " + erro);
}
Não gera. A resposta é:
Alguém pode me ajudar?