Jump to content
Changes to the Jaspersoft community edition download ×

java.lang.NoSuchMethodError for 6 hours !!!


Recommended Posts

By: Cezar FLOROIU - cezz

java.lang.NoSuchMethodError for 6 hours !!!

2003-07-03 12:51

Hi

 

I wrote a stand-alone class to generate a report. It ran fine and the PDF appeared. I transformed the main method in generate().

 

Now when I try to call it from Coldfusion, this error raises on line :

JasperExportManager.exportReportToPdfFile(fileName_pdf);

 

Before this line, the JasperFillManager.fillReportToFile(fileName_fill, parameters, getConnection()); is executed correctly and no error is raised on it.

 

the trace is :

java.lang.NoSuchMethodError

at dori.jasper.engine.export.JRPdfExporter.exportText(JRPdfExporter.java:1108)

at dori.jasper.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:391)

at dori.jasper.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:340)

at dori.jasper.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:262)

at dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:140)

at dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:106)

JasperExportManager.exportReportToPdfFile(fileName_pdf);

 

Can anyone tell me why ???

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...