Jump to content
Changes to the Jaspersoft community edition download ×

NoClassDefFoundError in weblogic 7.0?


2005 IR Help

Recommended Posts

By: CottonXu - cottonxu

NoClassDefFoundError in weblogic 7.0?

2004-09-26 08:47

I'm using Jasper 0.5.3, win2000, and BEA WebLogic 7.0. The report can be built in tomcat without any problem, but I got "NoClassDefFoundError" as the following in BEA WebLogic 7.0 with the same jsp or servlet file. The stack trace is :

java.lang.NoClassDefFoundError: org/apache/log4j/Layout

at org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:140)

at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:253)

at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:382)

at dori.jasper.engine.fill.JRBaseFiller.<clinit>(JRBaseFiller.java:123)

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

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

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

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

at jsp_servlet.__pdf._jspService(__pdf.java:115)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)

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

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

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

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)

at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)

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

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

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

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

####<2004-9-26 下午09时59分28秒> <Error> <HTTP> <ztsoft-cottonxu> <myserver> <ExecuteThread: '10' for queue: 'default'> <kernel identity> <> <101017> <[servletContext(id=16672519,name=goods,context-path=/goods)] Root cause of ServletException>

java.lang.NoClassDefFoundError

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

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

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

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

at jsp_servlet.__pdf._jspService(__pdf.java:115)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)

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

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

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)

at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)

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

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

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

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

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