Latest Questions tagged Jasper Reports

Browse all latest questions tagged Jasper Reports

58
Votes
Published 29 Oct, 2022
Java - Got java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/SAXSVGDocumentFactory when using Interleaved2Of5 Barcode format

I am trying to print a list of barcodes, data for which which will be sent to the JasperReports jrxml in a List of Strings. I am successful in printing the barcodes using barbeque format, but now I h...

101
Votes
Published 16 Aug, 2022
Java - Jasper Report - Unable to file the file: null

I am using JasperReport 6.1.0 for creating PDF report in Java. In JasperReport's standart configuration has some problems. Some characters does not appear after exporting to PDF. For example Ə,İ,Ğ and...

72
Votes
Published 06 Sep, 2022
Java - JRBeanCollectionDataSource: How to show data from the java.util.List from JavaBean?

My JavaBean contains the java.util.List. Userinfo { private String username; private String password; List<Address> listAddress; } How to show the data of this List in the Detail...

35
Votes
Published 03 Sep, 2022
Java - How to change Jasper report Print name

When I send the jasper report to print, the printer shows the document name as "jasper report-report name" (When there is a printing que, document name is also "jasper report" ). How can I change it t...

35
Votes
Published 19 Aug, 2022
Java - How do I compile jrxml to get jasper?

I have jrxml file, I want to compile this to get .jasper. How do I compile and get that jasper file?

92
Votes
Published 05 Sep, 2022
Java - NoClassDefFoundError: org/apache/commons/logging/LogFactory

I'm new in JasperReports and I want to integrate a JasperReports into my Java program, so when I click print button the program will show the report. But I get a NoClassDefFoundError when I click the...

81
Votes
Published 02 Sep, 2022
Java - Combining two Jasper reports

I have a web application with a dropdown from where user could select the type of report viz. report1, report2, report3, etc. Based on the report selected, a Jasper report is compiled on the server...

21
Votes
Published 26 Aug, 2022
Java - Converting Numbers to Local (UTF8) Bengali numbers in JasperReports & MySQL

I am trying to convert the English numbers to Bengali numbers before filling the report. The data i am getting from MySQL: SELECT brand.id,brand.brand,model.model FROM brand INNER JOIN model ON brand...

29
Votes
Published 13 Aug, 2022
Java - How to display CLOB (or BLOB) String in iReport?

I need to display a CLOB field with longer than 4000 characters in a text field using in iReport. I am using iReport version 5.5.0, I tried converting the CLOB to InputStream but it did not work, all...

94
Votes
Published 07 Sep, 2022
Java - Subreport causing infinite loop

I have a report with a subreport and then a subreport within that subreport. Somewhere along the way jasper reports is getting stuck in an infinite loop. I've looked at the total number of objects I...

91
Votes
Published 03 Sep, 2022
Java - Is JasperReports 10 times faster than Birt?

I am doing an evaluation of JasperReports and Birt reporting engines. I designed a simple report in both tools where I give 20 values to the report as parameters and fill 6 other values from an SQL s...

58
Votes
Published 29 Aug, 2022
Java - JasperReports NoClassDefFoundError exception on net.sf.jasperreports.engine.util.JRStyledTextParser

When trying to export on WebLogic 11g, it throws NoClassDefFound exception. I checked the application WAR and jasperreports-3.7.4.jar is included in WEB-INF/lib folder. What is the error? StackTrace...

38
Votes
Published 27 Aug, 2022
Java - net.sf.jasperreports.engine.JRException: Byte data not found

I'm trying to pass to template of a jasper reports string location. So I'm passing key of a parameter inside template and value. Everything was working when I had image inside my project, but I would...

92
Votes
Published 26 Aug, 2022
Java - JRProperties became deprecated, recommended way of replacing

The JRProperties class has been annotated as deprecated and replaced by JRPropertiesUtil as stated in the documentation I've been using it to set the properties in a following way (since it was a cla...

75
Votes
Published 23 Aug, 2022
Java - Does the .prpt file (report template file) contain datasource information?

When I created a report using Pentaho Report Designer, it outputs a report file having .prpt extension. After that I found an example on internet where the following code was used to display the repor...