Jump to content
JasperReports 7.0 is now available ×

Java FX - Jasper report with Excel (xlsx) datasource


TheTakuhi

Recommended Posts

Hi, I am new here and I need help.

I want to create an desktop application where on button click I will generate report from my template (made in Jaspersoft studio) with data from Excel file .xlsx. In Jaspersoft I 've created some data adapter, that skips the first line of the xlsx file and then reads and filters data. Whole report works in Jaspersoft, but when I try to use it in Java fx app, this error shows up:

Unable to get value for Excel field "column name" of class java.lang.String.

Sourcecode:

converted-file.png.d4cd5bf7ecde071046a6b8f1a83360bd.png

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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