Jump to content
Changes to the Jaspersoft community edition download ×

fail to generate PDF in sample webapp


Recommended Posts

By: Honghai Zhang - haroldzhang

fail to generate PDF in sample webapp

2003-12-10 14:59

I deployed the sample webapp that comes with the jasperreport download on weblogic server v6.1. I am able to compile the report and am not able to use the Servlet example link to generate PDF. Here are the error messages in the log file:

 

//////////////////////////////////////////////////////////

<Dec 10, 2003 5:44:20 PM EST> <Error> <HTTP> <[WebAppServletContext(3205362,jasper-webapp,/jasper-webapp)] Servlet failed with Exception

java.lang.NoSuchMethodError: bsh.Interpreter.setClassLoader(Ljava/lang/ClassLoader;)V

at dori.jasper.engine.fill.JRBshCalculator.<init>(JRBshCalculator.java:106)

at dori.jasper.engine.design.JRBshCompiler.loadCalculator(JRBshCompiler.java:133)

at dori.jasper.engine.design.JRDefaultCompiler.loadCalculator(JRDefaultCompiler.java:183)

at dori.jasper.engine.fill.JRBaseFiller.loadCalculator(JRBaseFiller.java:600)

at dori.jasper.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:334)

at dori.jasper.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:131)

at dori.jasper.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:123)

at dori.jasper.engine.fill.JRFiller.fillReport(JRFiller.java:150)

at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:350)

at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:290)

at dori.jasper.engine.JasperRunManager.runReportToPdf(JasperRunManager.java:281)

at servlets.PdfServlet.service(PdfServlet.java:110)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2678)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2412)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:140)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:121)

//////////////////////////////////////////////////////////

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