exception: JRStyledTextParser

0
Hi,
 
I tried to write a jsp program with the function
 
JasperFillManager.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

mihaela's picture
17
Joined: Jan 31 2010 - 11:22pm
Last seen: 10 years 8 months ago

2 Answers:

0

Hi,

 

What version of Java are you using and what operating system? Is it a Linux machine?

 

Thanks,

Teodor

 

teodord's picture
4937
Joined: Jun 30 2006 - 9:00am
Last seen: 1 week 6 days ago
0

Hi,

I'm using jasperreports 3.7.1.jar on Linux machine , but i did not encountered like this error.

Thanks

ajithn

ajithn's picture
14
Joined: Feb 23 2010 - 5:15am
Last seen: 10 years 8 months ago
Feedback
randomness