0

I have a problem with a project that use JasperReports 5.0.0. I deployed a war with the jasper's libraries in another servers and I had not any problem. But in the productive enviornment, when I want generate a report, the aplication throws the next exception.

java.lang.NoClassDefFoundError: org/apache/commons/javaflow/bytecode/Continuable

The war contains the next jars:

jasperreports-5.0.0.jar
jasperreports-aplet-5.0.0.jar
jasperreports-font-5.0.0.jar
jasperreports-javaflow-5.0.0.jar

And the server is a Weblogic 10.3.5.0

Alex K
  • 22,315
  • 19
  • 108
  • 236
Seba
  • 1
  • 1
  • 1
  • 1
    possible duplicate of [Why am I getting a NoClassDefFoundError in Java?](http://stackoverflow.com/questions/34413/why-am-i-getting-a-noclassdeffounderror-in-java) – Alex K Aug 21 '13 at 14:13
  • 1
    This class is from *commons-javaflow.jar* – Alex K Aug 21 '13 at 14:17
  • JR 5.2.0 is using commons-javaflow commons-javaflow 20060411 compile true artifact – Alex K Aug 21 '13 at 14:18
  • Thanks for comments, but I have tried to add commons-javaflow to the shared library and I still having the same error. I read that this error is throws in previous versions of Jasper and with comons-javaflow was solved, but aparently not with version 5.0 – Seba Aug 21 '13 at 16:12
  • Did you add the *commons-javaflow-20060411.jar*? What version did you add to classpath? – Alex K Aug 21 '13 at 19:24
  • Can you post your *Java* code to check this issue? – Alex K Aug 21 '13 at 19:24
  • Sorry I can't post the Java code, because is protected by copyright. My team have added the commons-javaflow-20060411.jar, to the project that was deployed as a shared library. – Seba Aug 21 '13 at 19:49
  • And was added in weblogic.xml file, the reference to this shared library. – Seba Aug 21 '13 at 19:50
  • You can also check that is only one version of *commons-javaflow* library is in *OWL* classpath. – Alex K Aug 21 '13 at 19:51
  • Alex, thaks for your help. Yesterday, we restarted the server and worked fine. – Seba Aug 22 '13 at 13:17

0 Answers0