Jump to content
JasperReports Library 7.0 is now available ×

jasperreport in JSF App. problem


atanasko

Recommended Posts

Hi to All

 

I have JSF based web application and i have reporting part in it.That part of my app. work with jasperreports-1.1.0.jar, but when i try jasperreports-1.2.5.jar or jasperreports-1.2.6.jar i get this error :

 

Servlet.service() for servlet JasperPrintServlet threw exception

java.lang.NoSuchFieldError: LINE_BREAK_FONT_RENDER_CONTEXT

at net.sf.jasperreports.engine.fill.TextMeasurer.<clinit>(TextMeasurer.java:53)

at net.sf.jasperreports.engine.fill.JRFillTextElement.createTextMeasurer(JRFillTextElement.java:115)

at net.sf.jasperreports.engine.fill.JRFillTextElement.<init>(JRFillTextElement.java:97)

at net.sf.jasperreports.engine.fill.JRFillStaticText.<init>(JRFillStaticText.java:60)

at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getStaticText(JRFillObjectFactory.java:494)

at net.sf.jasperreports.engine.base.JRBaseStaticText.getCopy(JRBaseStaticText.java:93)

at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88)

at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:90)

at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77)

at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374)

at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:398)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)

at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)

at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)

at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)

 

i use Tomcat 5.5.12 on Ubuntu 5.5.10. any idea why am i getting this error

 

thanks in advance

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

thanks for replay

 

i have only one or jasperreports-1.1.0.jar or jasperreports-1.2.6.jar in my classpath, but not both together. When it is jasperreports-1.1.0.jar application work, when it is jasperreports-1.2.6.jar i get error.

 

i use NetBeans 5.0 for my project

 

any other idea

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