• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with Jasper Reports

 
Sai Rama
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am getting the same error when I try to run my java program that is accessing jasper report created using IReport. I have put the following .jar files to my classpath.
1.jasperreports-1.2.0.jar
2. classes12.jar (for Oracle JDBC connection)
3. commons-beanutils-1.5.jar
4. commons-collections-2.1.jar
5. commons-digester-1.7.jar
6. commons-logging-1.0.2.jar

But still I am getting this error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/ja
vaflow/bytecode/Continuable
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
nager.java:402)
at ReportDriver.runReport(ReportDriver.java:69)
at ReportDriver.main(ReportDriver.java:88)

Can you guys please let me know what other .jar files I need to copy/set to my classpath???

Thanks,
Rama
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As the error message (kind of) states, it's the Jakarta Commons Javaflow package that's missing. No binary distribution seems to be available for that, according to that page, so you may need to pull the sources out of SVN and compile and jar it yourself. It may also be included in the full JasperReports download.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic