SAP Knowledge Base Article - Preview

3054997 - JasperReports export to XLS issue

Symptom

In Report cockpit execute any of reports widget and attempt to export to excel file then below error is thrown:

Application runtime error log:
SEVERE: >>java.lang.NoSuchMethodError: org.apache.poi.hssf.util.HSSFColor.getTripletHash()Ljava/util/Map;
>>      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispacherServlet.java:982)
>>      org.springframework.web.servlet.DispatcherServlet.doService(DispacherServlet.java:901)
>>      org.springframework.web.servlet.DispatcherServlet.ProcessRequest(FrameworkServlet.java:970)


Application error log:

[yjavac] 1. ERROR in /opt/hybris/ecms29/cb/hybris/bin/custom/xyz/xyz/src/xyz/xyz/xyz/reports/NCIExporterFactory.java (at line 5)
   [yjavac]  import net.sf.jasperreports.engine.export.JRHtmlExporter;
   [yjavac]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [yjavac] The import net.sf.jasperreports.engine.export.JRHtmlExporter cannot be resolved


Read more...

Environment

SAP Commerce Cloud 1.0
Platform version 6.4

Product

SAP Commerce Cloud 1.0

Keywords

JasperReports, Report cockpit , KBA , CEC-SCC-COM-WCMS , Web Content Management System , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.