divsen Posted August 27, 2006 Share Posted August 27, 2006 Hi Can anybody plz tell me how to display a jasper report on a webpage..i saw the webapp sample..but that din help.. What is the best way to display??a jsp page or a servlet..I am new to this.. I tried in both..it keeps saying the exception java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/fill/JRHorizontalFillerat net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) at com.servlets.JasperPrintServlet.doPost(JasperPrintServlet.java:102) at com.servlets.JasperPrintServlet.doGet(JasperPrintServlet.java:63) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) When i try to fill the report.JasperPrintServlet is the servlet where i try to fill my report I have added the jasperreports-1.2.5.jar file in my lib folder and it has the class file.. I am using MyEclipse and Jboss 4 Can anybody plz help me ThanksPost edited by: divsen, at: 2006/08/27 01:31 Link to comment Share on other sites More sharing options...
Kannan_S Posted August 28, 2006 Share Posted August 28, 2006 check whether your web-inf/classes directory has the two folders net and org .the sample webapp folder given does not works.try to build your own webapp by taking the source codes from the sample webapps 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