shwe Posted May 18, 2007 Share Posted May 18, 2007 helloi 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 More sharing options...
martynhiemstra Posted May 18, 2007 Share Posted May 18, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now