Jump to content
Changes to the Jaspersoft community edition download ×

_THIS reference not working


ilkkayli

Recommended Posts

I'm moving from iReport to Jaspersoft Studio. In iReport I was using my own java objects by _THIS reference like this:

<field name="_THIS" class="my.custom.java.object"/>

When I try to compile my report in JasperSoft Studio, I get error like this:

java.lang.RuntimeException: java.lang.NoClassDefFoundError: Unable to load class my.custom.java.object due to missing dependency net/sf/jasperreports/engine/data/JRBeanCollectionDataSource

Can someone help me? It works if I define all fields from my.custom.java.object one by one, but in some cases it would be very handy to use the object via _THIS reference.

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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