2 Replies Latest reply on Jul 29, 2014 2:29 AM by timbenthaus

    Problems with jasperreports libs when migrating to jboss 7

      Guys, I did a migration project from jboss 4.2.3 to jboss 7.
      I use jasperreports in version 3.7.6
      When migrating all reports whose design is done manually and not via file. Jasper compilation error occurs in the method JasperCompileManager.compileReport ();

      Look at the stack trace of the error has:

       

      1. 16:24:39,062 ERROR [stderr] (http-localhost-127.0.0.1-80-3) net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 
      2. 16:24:39,062 ERROR [stderr] (http-localhost-127.0.0.1-80-3) D:\server\jboss-as-7.1.1.Final\bin\Relatorio1346786676062_1346786676187_142976.java:4: package net.sf.jasperreports.engine does not exist 

       

      To avoid compatibility errors since the jboss 4.2.3 libs I took all of the dependencies jasper the \ iReport-3.7.6 \ ireport \ modules \ ext installing ireport.
      All these libs were configured as modules in jboss 7.

      An interesting fact is that all the reports used via file (. Jasper) function normally. The problem occurs only with reports where the design is done in code, and compile and run time.