mihaela Posted February 8, 2010 Share Posted February 8, 2010 Hi,I tried to write a jsp program with the functionJasperFillManager.fillReport.....and I obtain the error:javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781) org.apache.jsp.JasperReportsTeste.DbReport_jsp._jspService(DbReport_jsp.java:146) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)Any advice?Thank you,Mihaela Link to comment Share on other sites More sharing options...
teodord Posted February 10, 2010 Share Posted February 10, 2010 Hi, What version of Java are you using and what operating system? Is it a Linux machine? Thanks,Teodor Link to comment Share on other sites More sharing options...
ajithn Posted March 8, 2010 Share Posted March 8, 2010 Hi,I'm using jasperreports 3.7.1.jar on Linux machine , but i did not encountered like this error.Thanksajithn 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