Jump to content
Changes to the Jaspersoft community edition download ×

What are the Jars needed to connect java with Jasper Reports?


bharath7leo

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

 

Hi Bharath M,

 

The jars need to be included are-

1.commons-beanutils-x.x.x.jar

2.commons-collections-x.x.x.jar

3.commons-digester-x.x.jar

4.commons-logging-x.x.jar

5.groovy-all-x.x.x.jar(if the report language is deafult Groovy)

6.iText-x.x.x.jar(For PDF Exports)

7.jasperreports-x.x.x.jar

8.poi-x.x.jar(for excel exports)

9.jfreechart-x.x.x.jar

Hope that this is helpful

Regards,

Ankur

Link to comment
Share on other sites

  • 7 years later...
  • 1 year later...

For anyone having the same problem as Ankur, as NOONE bothered taking care of this after 9 years:

It's in the Jaspersof Studio -> Compatibility section, "Compiler Settings" -> "Manage JasperReports Versions". Click on the "Add From URL"; a dropdown with the proper versions of the libraries you want to download will appear. But after you choice you have to add an "s" to "http" to become "https"; noone in Jaspersoft seemed to give a damn about this for decades. The you click "download" and it will download everything and put it on the proper workspace folder.

Also you should be able to download it from Sourceforge (for instance, https://sourceforge.net/projects/jasperreports/files/archive/jasperreports/JasperReports%204.5.1/); you can browse back and find whichever version you need). The one you are supposed to get is the .zip one (also noone gave a damn explaining this anywere in the "documentation" here: 

https://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-user-guide/v630/setting-compatibility-earlier-versions

Then you unzip it, put everything in your folder of choice, and select "and from path" from the previous dialogue.

It won't work, either. Whatever you attempt it will throw a "NoClassDefFoundError" or so exception. 

But don

Link to comment
Share on other sites

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