burferd Posted June 15, 2009 Share Posted June 15, 2009 Uning NetBeans 6.5. I had an old JasperReports library for Jasperreports 1.3.2. I am trying to update my NetBeans IDE to use the JasperReports 3.5.2 libraries. I created a new JasperReportLibrary in NetBeans and linked it to the jasperreports-3.5.2.jar file that I downloaded from the JasperReports download site. Unfortunately, when I restart NetBeans, I get an error that says there is an error opening jaspereports-3.5.2.jar. I have 2 questions. 1) Is this the jar file I should be using to resolve the java jasper reports references like JasperFillManager 2) How can I add the library to NetBeans in order to resolve the jasper report references? I also tried adding the plugins, but that did not seem to make any difference either, I still have the unresolved variables. Thanks Link to comment Share on other sites More sharing options...
burferd Posted June 15, 2009 Author Share Posted June 15, 2009 The file on the download site is not good. It downloads as 95KB rather than 2.5MB Link to comment Share on other sites More sharing options...
burferd Posted June 15, 2009 Author Share Posted June 15, 2009 When I created the library for 1.3.2, I had to include the following libraries:comons-beanutils-1.7.jarcommons-collections-2,1,jaritext-1.3.1.jarjasperreports-1.3.2.jarjfreechart-1.0.0.jarpoi-2.0-final-20040126.jar I found these in the iReport directory whn I loaded iReport 1.3.2.It looks like the jasperreports-3.5.2.jar file replaces jasperreports-1.3.2.jar, but what to I use for the other jar files?There is no lib directory in the iReport 3.5.2 directory. Where can I find the rest? Thanks Link to comment Share on other sites More sharing options...
lucianc Posted June 16, 2009 Share Posted June 16, 2009 Download the JasperReports "project" package and you'll find all the JR dependencies in the lib folder. Note that they are not all mandatory dependencies, you should select the ones that your application requires.Regards,Lucian 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