jeanpierrepolnareff91 Posted February 20, 2020 Share Posted February 20, 2020 Hello everyone, I have some problems to get my csv report working.I have created a sample csv and I want to cast some columns into java.lang.Integer, but I always get the error Unable to get value of CSV field "EMP_NO" of class java.lang.IntegerWhen I use only Strings, everything works but my column headers are displayed multiple times, don't know why.Has somebody ever had a similar problem before ?Thanks for sharing ! Link to comment Share on other sites More sharing options...
I am Leo Posted February 21, 2020 Share Posted February 21, 2020 How many times that your headers are displayed? Link to comment Share on other sites More sharing options...
jeanpierrepolnareff91 Posted February 21, 2020 Author Share Posted February 21, 2020 Just 2 times on the first page, because I forgot to click on the "skip the first row" checkbox, now everything is working thanks ! Link to comment Share on other sites More sharing options...
Solution jeanpierrepolnareff91 Posted February 21, 2020 Author Solution Share Posted February 21, 2020 When you use a csv data adaptater in jaspersoft studio, don't forgot to click on the "skip the first row" checkbox : /sites/default/files/user_uploads/jeanpierrepolnareff91/2020-02-21_09h22_26.png Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now