Jump to content
Changes to the Jaspersoft community edition download ×

JExcelApiExporter problem!!!


p_a

Recommended Posts

Hello,

 

I am using netbean and I have a servlet which provides me html/pdf and Excel format.

 

I tried to use JExcelApiExporter class for exporting my reports,which contains Image,in Excel but I got this error:

 

cannot find symbol

symbol : class JExcelApiExporter

JExcelApiExporter exporterXLS = new JExcelApiExporter();

 

I added all the jasperREports 1.2.7 library but still it did not work.

 

Please help me to solve my problem.I am so stucked in

:(

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

My previous problem has just solved.I added XlsServlet and JExcelApiServlet in my xml file.(I already added jasperreports-1.2.7.jar in my library)

 

But I got another problem when I want to export report it got this problem :

 

exception:

 

javax.servlet.ServletException: Servlet execution threw an exception org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)

 

root cause:

 

java.lang.NoSuchFieldError: isFontSizeFixEnabled

net.sf.jasperreports.engine.export.JExcelApiExporter.getLoadedFont(JExcelApiExporter.java:878)

net.sf.jasperreports.engine.export.JExcelApiExporter.addBlankCell(JExcelApiExporter.java:238)

net.sf.jasperreports.engine.export.JRXlsAbstractExporter.exportPage(JRXlsAbstractExporter.java:380)

net.sf.jasperreports.engine.export.JRXlsAbstractExporter.exportReportToStream(JRXlsAbstractExporter.java:289)

net.sf.jasperreports.engine.export.JRXlsAbstractExporter.exportReport(JRXlsAbstractExporter.java:135)

 

Plz help me to solve my probelm

Post edited by: p_a, at: 2006/11/14 12:07

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...