Jump to content
Changes to the Jaspersoft community edition download ×

NoClassDefFoundError


2004 IR Help

Recommended Posts

By: Me_ - black_lotus

NoClassDefFoundError

2005-10-12 13:24

I'm new to JasperReports and having some trouble understanding how to resolve this. I'm trying to fill a report using JasperFillManager.fillReportToFile(sourcefile, null, JRBeanArrayDataSource)

and I get the following exception. Any ideas how to resolve?

 

java.lang.NoClassDefFoundError: org/apache/commons/beanutils/PropertyUtils

net.sf.jasperreports.engine.data.JRBeanArrayDataSource.getFieldValue(JRBeanArrayDataSource.java:102)

net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:1217)

net.sf.jasperreports.engine.fill.JRHorizontalFiller.fillReport(JRHorizontalFiller.java:130)

net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:953)

net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)

net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:428)

net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:319)

net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:275)

labels.LabelMaker.makeLabels(LabelMaker.java:25)

PrntLbls.doGet(PrntLbls.java:38)

javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 

 

 

 

 

By: David Heffelfinger - heffel

RE: NoClassDefFoundError

2005-10-12 13:53

Try adding commons-beanutils-1.5.jar to your classpath. This file is distributed with JasperReports under the lib directory (assumming you downloaded jasperreports-1.0.x-project.zip.

 

David

 

 

 

 

By: Uday - udayms

RE: NoClassDefFoundError

2005-10-22 12:17

Hi there,

check out....

 

https://sourceforge.net/forum/forum.php?thread_id=1360220&forum_id=113530

 

regards,

Uday

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