Pessoal estou com problemas…
Instalei o iReport, criei meu relatório e na hora de visualizar apareceu uma msg de erro enorme !
Alguém sabe o que pode estar acontecendo ?
Grato !
segue o erro:
Compiling to file... .\prods.jasper -> .\classic.java
Errors compiling .\prods.jasper!
Warning : Element bottom reaches outside band area : y=0 height=1 band-height=0
java.io.IOException: CreateProcess: javac -classpath
C:\iReport\lib\mssqlserver.jar;C:\iReport\lib\msutil.jar;C:\iReport\lib\msbase.jar;.\classes\;.\lib\bsh-1.3.0.jar;.\lib\commons-beanutils.jar;
.\lib\commons-collections.jar;.\lib\commons-digester.jar;.\lib\commons-logging-api.jar;.\lib\commons-logging.jar;.\lib\iReport.jar;.\lib\itext-1.02b.jar;
.\lib\jasperreports-0.5.2.jar;.\lib\jcmdline-1.0.2.jar;.\lib\jcommon-0.9.3.jar;.\lib\jfreechart-0.9.18.jar;.\lib\log4j-1.2.8.jar;.\lib\msbase.jar;
.\lib\mssqlserver.jar;.\lib\msutil.jar;.\lib\mysql-connector-java-3.0.8-stable-bin.jar;.\lib\poi-2.0-final-20040126.jar;.\lib\tinylaf.jar;.\lib\xercesImpl.jar;
.\lib\xmlParserAPIs.jar
C:\iReport\classic.java error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at dori.jasper.engine.design.JRJavacCompiler.compileClass(JRJavacCompiler.java:102)
at dori.jasper.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:151)
at dori.jasper.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:136)
at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:135)
at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:123)
at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:163)
at java.lang.Thread.run(Unknown Source)
NESTED BY :
dori.jasper.engine.JRException: Error compiling report java source file : C:\iReport\classic.java
at dori.jasper.engine.design.JRJavacCompiler.compileClass(JRJavacCompiler.java:127)
at dori.jasper.engine.design.JRAbstractJavaCompiler.compileReport(JRAbstractJavaCompiler.java:151)
at dori.jasper.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:136)
at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:135)
at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:123)
at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:163)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess: javac -classpath
C:\iReport\lib\mssqlserver.jar;C:\iReport\lib\msutil.jar;C:\iReport\lib\msbase.jar;.\classes\;
.\lib\bsh-1.3.0.jar;.\lib\commons-beanutils.jar;.\lib\commons-collections.jar;.\lib\commons-digester.jar;
.\lib\commons-logging-api.jar;.\lib\commons-logging.jar;.\lib\iReport.jar;.\lib\itext-1.02b.jar;
.\lib\jasperreports-0.5.2.jar;.\lib\jcmdline-1.0.2.jar;.\lib\jcommon-0.9.3.jar;.\lib\jfreechart-0.9.18.jar;
.\lib\log4j-1.2.8.jar;.\lib\msbase.jar;.\lib\mssqlserver.jar;.\lib\msutil.jar;.\lib\mysql-connector-java-3.0.8-stable-bin.jar;
.\lib\poi-2.0-final-20040126.jar;.\lib\tinylaf.jar;.\lib\xercesImpl.jar;.\lib\xmlParserAPIs.jar
C:\iReport\classic.java error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at dori.jasper.engine.design.JRJavacCompiler.compileClass(JRJavacCompiler.java:102)
... 6 more
________________________________________
Compilation running time : 500
________________________________________
Error filling print...
sa $ jdbc:microsoft:sqlserver://s01cpci:1433;DatabaseName=Intranet
java.io.FileNotFoundException: .\prods.jasper
at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:116)
at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:157)
at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:348)
at java.lang.Thread.run(Unknown Source)
NESTED BY :
java.io.FileNotFoundException: .\prods.jasper
at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:116)
at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:157)
at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:348)
at java.lang.Thread.run(Unknown Source)
NESTED BY :
dori.jasper.engine.JRException: .\prods.jasper
at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:116)
at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:157)
at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:348)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: .\prods.jasper
... 4 more
Print not filled. Try to use an EmptyDataSource