[iReport] Could not initialize class ValueStackDataSource

  • Exception : java.lang.NoClassDefFoundError: Could not initialize class org.apache.struts2.views.jasperreports.ValueStackDataSource
  • Solution: Copy struts2-jasperreports-plugin-2.0.11.1.jar to iReport /lib folder, and add it in the classpath : Tools > Options > iReport > Classpath > Add JAR
  • Source: http://jasperforge.org/projects/ireport/tracker/view.php?id=4436
Advertisements

One thought on “[iReport] Could not initialize class ValueStackDataSource

  1. Tron says:

    Be sure to include also xwork-core-xxx.jar.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: