What necessary dependencies need to implement in Java Maven project which JasperReport version is 6.16.0?

As my question mentioned, assume that the requested version of JasperReport in Java project is 6.16.0.

Jaspersoft Studio is also version 6.16.0 to generate the reports.

The Java Maven project is used to export and generate PDF or Excel.

Can anyone list out some necessary or requested dependencies to me for reference?

Thank you so much!!

eggchun32's picture
Joined: Mar 16 2021 - 12:17am
Last seen: 1 year 9 months ago

1 Answer:

I haven't used it for generating Excel files, but pdfs just require the library itself:

<!-- https://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports -->

However, if your project requires some of the extentions this library, the POM should also contain them. For example, the Custom Visualization Components extention requires the following dependency:

<!-- https://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports-cu... -->

dhombios's picture
Joined: Mar 25 2021 - 10:51am
Last seen: 1 year 10 months ago