Jump to content
JasperReports Library 7.0 is now available ×

New to jasperreports; needs urgent help


shwe

Recommended Posts

hello

i m new to jasperreports. trying to generate report in servlets using jasperreports. its compiling but not executing gives run time exception.

here i m giving stack trace of it--

 

 

exception

 

javax.servlet.ServletException: Servlet execution threw an exception

 

 

root cause

 

java.lang.NoClassDefFoundError: org/apache/commons/digester/SetNestedPropertiesRule

net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:203)

net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168)

net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152)

JasperReportServlet.doGet(JasperReportServlet.java:38)

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

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

 

 

if anyone knows help me.

thanks in advance.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

No offense but this is a really simple Java error on your behalf. Just read the stacktrace:

java.lang.NoClassDefFoundError: org/apache/commons/digester/SetNestedPropertiesRule

 

It clearly says that it cant find a certain file. Just by looking at the missing file package name org/apache/commons/digestor you can conclude that this is a package from the apache foundation. Download the Commons digestor package from the apache website and put that in your classpath.

Link to comment
Share on other sites

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