When I create a report with an image, and then I export it to Excel 2007 (XLSX) the images are not displayed. There's only a blank space where the images are supposed to be. But if you export it using Excel 2003 or another format like Docx, PDF, XLS, HTML, There's no problem. I tried looking for an answer, found the same question asked a lot of times, but no relevant answer. Can anyone please suggest a solution to this problem. Thanks Code:void getXLSXExport(JasperPrint jasperPrint, HttpServletRequest request, HttpServletResponse response, String reportName) throws JRException, IOException{ response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"); String downloadFileName = reportName + ".xlsx"; response.setHeader("content-disposition", "attachment; name=\"" + downloadFileName + "\"; filename=\"" + downloadFileName + "\""); ByteArrayOutputStream byteStream = new ByteArrayOutputStream(); JRXlsxExporter xlsxExporter = new JRXlsxExporter(); xlsxExporter.setParameter(JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET, Boolean.FALSE); xlsxExporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE); xlsxExporter.setParameter( JRXlsExporterParameter.JASPER_PRINT, jasperPrint); xlsxExporter.setParameter( JRXlsExporterParameter.OUTPUT_STREAM, byteStream); xlsxExporter.exportReport(); response.setContentLength(byteStream.toByteArray().length); response.getOutputStream().write(byteStream.toByteArray()); }