2004 IR Help Posted August 23, 2006 Share Posted August 23, 2006 By: ghan - guohong jasperreports compiling error(in linux) 2005-08-23 13:47 Hi, I try to do report design in window using iReport ,compile and fill it in linux using jasperreports. I got the following message when I compile it in window: ---------------------beginning of message---------------------- C:Program Filesjasperreports-0.6.8demosampleszhr>ant compile Buildfile: build.xml compile: [jrc] Compiling 1 report design files. [jrc] 0 [main] WARN design.JRVerifier - Warning : Element bottom reaches outside band area : y=0 height=1 band-height=0 [jrc] File : C:Program Filesjasperreports-0.6.8demosampleszhrjob.jrxml ... OK. BUILD SUCCESSFUL Total time: 5 seconds ---------------------end of message---------------------------- BUT It failed in linux: --------------------beginning of message--------------------------- ghan ~/jasper/zhr # ant compile Buildfile: build.xml compile: [jrc] Compiling 1 report design files. [jrc] log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). [jrc] log4j:WARN Please initialize the log4j system properly. [jrc] File : /root/jasperreports-1.0.0/demo/samples/zhr/job.jrxml ... FAILED. [jrc] Error compiling report design : /root/jasperreports-1.0.0/demo/samples/zhr/job.jrxml [jrc] net.sf.jasperreports.engine.JRException: Report design not valid : [jrc] 1. Warning : Element bottom reaches outside band area : y=0 height=1 band-height=0 [jrc] at net.sf.jasperreports.engine.design.JRJdtCompiler.compileReport(JRJdtCompiler.java:142) [jrc] at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:106) [jrc] at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:127) [jrc] at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:109) [jrc] at net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:398) [jrc] at net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:252) [jrc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [jrc] at org.apache.tools.ant.Task.perform(Task.java:364) [jrc] at org.apache.tools.ant.Target.execute(Target.java:341) [jrc] at org.apache.tools.ant.Target.performTasks(Target.java:369) [jrc] at org.apache.tools.ant.Project.executeTarget(Project.java:1214) [jrc] at org.apache.tools.ant.Project.executeTargets(Project.java:1062) [jrc] at org.apache.tools.ant.Main.runBuild(Main.java:673) [jrc] at org.apache.tools.ant.Main.startAnt(Main.java:188) [jrc] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) [jrc] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) BUILD FAILED /root/jasperreports-1.0.0/demo/samples/zhr/build.xml:36: Errors were encountered when compiling report designs. Total time: 3 seconds ----------------------end of message----------------------------- Can anybody help me out? Thank you very much in advance! ghan By: ghan - guohong jasperreports compiling error(in linux)[2] 2005-08-23 14:02 Hi, It seems an iReport problem. I always get: Warning : Element bottom reaches outside band area : y=0 height=1 band-height=0 when I compile a report design file using iReport no matter in windows or in linux. How can I get rid of this warning? I checked all the bands in my design file, but still can not figure out which band that warning refers. Thank you for your time! ghan By: ghan - guohong RE: jasperreports compiling error(in linux) 2005-08-25 15:52 I Know the problem now. My report file works fine with jasperreports-0.6.8, not jasperreports-1.0.0. 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