Jump to content
Changes to the Jaspersoft community edition download ×

runReportToPdfStream throws NoSuchMethodError


jware

Recommended Posts

When calling runReportToPdfStream in a servlet in JBoss, I am seeing:

 

java.lang.NoSuchMethodError: org.jfree.chart.title.LegendTitle.setItemPaint(Ljava/awt/Paint;)V

at net.sf.jasperreports.engine.fill.JRFillChart.configureChart(JRFillChart.java:1006)

...

 

In the deploy area for jboss I find these, seemingly related, jar files.

 

./WEB-INF/lib/jasperreports-1.3.3.jar

./WEB-INF/lib/jfreechart-1.0.0-rc1.jar

 

I just don't get how jboss can't find a method of a class in its own deploy area.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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