JRException: Invalid byte 1 of 1-byte UTF-8 sequence
问题 I am trying to generate a report using Jasper Reports, but I am getting the following error. net.sf.jasperreports.engine.JRException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence. I am using this Java code: List<Aluno> lista = alunoService.findAll(); String path = req.getSession().getServletContext().getRealPath("WEB-INF"); JasperReport report = JasperCompileManager.compileReport(path + "/relatorios/aluno.jasper");