Jump to content
We've recently updated our Privacy Statement, available here ×

JasperNewBee

Members
  • Posts

    1
  • Joined

  • Last visited

JasperNewBee's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, I am trying to generate PDF reports using the Jasper Reports on the weblogic server through Eclipse. I'm using Struts 1_0. And I have jasperreports-1.3.1.jar, itext-1.4.8.jar and the required commons jar files too. I'm getting exception when I run as a webapplication on the Weblogic Server [java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRException]. But it works when I run it as process and even it works when I have just regular core java classes to generate PDF through main. Can you please help me why this doesn't work when I run it on the Weblogic Server even after having the required jar files on the class path. logs: <Jun 15, 2007 12:00:33 PM EDT> <Error> <HTTP> <BEA-101046> <[servletContext(id=21807947,name=testingJasperReports,context-path=/testingJasperReports)] action: Dispatch[/reports] to method generateReports returned an exception java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) Caused by: java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRException at com.testingJasperReports.SummaryReportModel.createReport(SummaryReportModel.java:77) at com.testingJasperReports.actions.ReportGeneratorAction.generateReports(ReportGeneratorAction.java:98) ... 22 more >
×
×
  • Create New...