nirvan Posted April 9, 2009 Share Posted April 9, 2009 I am using "jasperreports-3.5.0.jar" for generating a simple pdf report. I get the following exception.Exception in thread "main"java.lang.NoClassDefFoundError: org/apache/commons/javaflow/bytecode/Continuable. I understand that the class being sought is from the javaflow jar file. But I already have "jasperreports-3.5.0-javaflow.jar" in my classpath. After searching the net, I believe that the jar file "commons-javaflow-20060411.jar" seems to be the missing jar file. But I am unable to find any site which offers a download for the same. Please let me know whether this said jar file is required or not, and if required, where to download it from.regards,nirvan. Link to comment Share on other sites More sharing options...
C-Box Posted April 9, 2009 Share Posted April 9, 2009 If you download the full JasperReports Project, you will find this jar within the "lib" directory! hthC-Box Link to comment Share on other sites More sharing options...
rkozlowski Posted April 9, 2009 Share Posted April 9, 2009 You need the commons-javaflow.jar, I am not sure but, I believe that you would get this through apache? Link to comment Share on other sites More sharing options...
rkozlowski Posted April 9, 2009 Share Posted April 9, 2009 According to the documentation this is what you need for commons:Jakarta Commons BeanUtils Component (version 1.7 or later) http://jakarta.apache.org/commons/beanutils/Jakarta Commons Collections Component (version 2.1 or later) http://jakarta.apache.org/commons/collections/Jakarta Commons Javaflow (Sandbox version) http://jakarta.apache.org/commons/sandbox/javaflow/Jakarta Commons Logging Component (version 1.0 or later) http://jakarta.apache.org/commons/logging/ Link to comment Share on other sites More sharing options...
nirvan Posted April 9, 2009 Author Share Posted April 9, 2009 Thanks very much for the responses.@CBox -- I have downloaded the three jar files listed at http://sourceforge.net/project/showfiles.php?group_id=36382&package_id=28579&release_id=670820 . One of them is listed as jasperreports-3.5.0-javaflow.jar but that doesn't contain the class(Continuable) JasperReport is looking for. I am not sure which package you are talking about when you say the "the full JasperReports Project".@rkozlowski -- I know that I need the "commons-javaflow-20060411.jar", but it isn't available on the apache site. There is only source files available on the apache website. Please let me know if you know where to download the jar file(binaries). regards,nirvan Link to comment Share on other sites More sharing options...
rkozlowski Posted April 9, 2009 Share Posted April 9, 2009 Please download the commons-javaflow-20060411.jar at the following link: http://dev.openmrs.org/browser/openmrs-modules/jasperreport/lib/commons-javaflow/commons-javaflow-20060411.jar?rev=1777 Link to comment Share on other sites More sharing options...
rkozlowski Posted April 9, 2009 Share Posted April 9, 2009 when you get to the site click on download and then click on save. Link to comment Share on other sites More sharing options...
rkozlowski Posted April 9, 2009 Share Posted April 9, 2009 I have also created an attachment with the jar included. Post Edited by Rachel Kozlowski at 04/09/09 19:59 Link to comment Share on other sites More sharing options...
nirvan Posted April 9, 2009 Author Share Posted April 9, 2009 Thanks very much for your help. I downloaded the jar file from the site indicated by you and got the basic report working. regards, Nirvan 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