Jump to content
Changes to the Jaspersoft community edition download ×

Compiling problem


ktrinad

Recommended Posts

By: justin goyanko - ogoy

Compiling problem

2003-10-02 09:03

Hi again all !! im having problems compiling a simple report.. whenever i start to compile the compiler gives me a stack trace..

 

Compiling to file... F:MySQL_Java_ReportsiReport-0.2.2templatestest.jasper -> F:MySQL_Java_ReportsiReport-0.2.2untitled_report_1.java Errors compiling F:MySQL_Java_ReportsiReport-0.2.2templatestest.jasper! java.io.IOException: CreateProcess: javac -classpath F:MySQL_Java_ReportsiReport-0.2.2;F:MySQL_Java_ReportsiReport-0.2.2classes;F:MySQL_Java_ReportsiReport-0.2.2libcommons-beanutils.jar;F:MySQL_Java_ReportsiReport-0.2.2libcommons-collections.jar;F:MySQL_Java_ReportsiReport-0.2.2libcommons-digester.jar;F:MySQL_Java_ReportsiReport-0.2.2libcommons-logging-api.jar;F:MySQL_Java_ReportsiReport-0.2.2libcommons-logging.jar;F:MySQL_Java_ReportsiReport-0.2.2libitext-0.96.jar;F:MySQL_Java_ReportsiReport-0.2.2libiTextAsian.jar;F:MySQL_Java_ReportsiReport-0.2.2libjakarta-poi-1.5.1-final-20020615.jar;F:MySQL_Java_ReportsiReport-0.2.2libjasperreports-0.5.0.jar;F:MySQL_Java_ReportsiReport-0.2.2libjcommon-0.8.0.jar;F:MySQL_Java_ReportsiReport-0.2.2libjfreechart-0.9.8.jar;F:MySQL_Java_ReportsiReport-0.2.2libmysql-connector-java-3.0.8-stable-bin.jar;F:MySQL_Java_ReportsiReport-0.2.2libxercesImpl.jar;F:MySQL_Java_ReportsiReport-0.2.2libxmlParserAPIs.jar F:MySQL_Java_ReportsiReport-0.2.2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.<init>(Win32Process.java:63) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Runtime.java:550) at java.lang.Runtime.exec(Runtime.java:475) at java.lang.Runtime.exec(Runtime.java:441) 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:139) at java.lang.Thread.run(Thread.java:536) NESTED BY : dori.jasper.engine.JRException: Error compiling report java source file : F:MySQL_Java_ReportsiReport-0.2.2untitled_report_1.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:139) at java.lang.Thread.run(Thread.java:536) Caused by: java.io.IOException: CreateProcess: javac -classpath F:MySQL_Java_ReportsiReport-0.2.2;F:MySQL_Java_ReportsiReport-0.2.2classes;F:MySQL_Java_ReportsiReport-0.2.2libcommons-beanutils.jar;F:MySQL_Java_ReportsiReport-0.2.2libcommons-collections.jar;F:MySQL_Java_ReportsiReport-0.2.2libcommons-digester.jar;F:MySQL_Java_ReportsiReport-0.2.2libcommons-logging-api.jar;F:MySQL_Java_ReportsiReport-0.2.2libcommons-logging.jar;F:MySQL_Java_ReportsiReport-0.2.2libitext-0.96.jar;F:MySQL_Java_ReportsiReport-0.2.2libiTextAsian.jar;F:MySQL_Java_ReportsiReport-0.2.2libjakarta-poi-1.5.1-final-20020615.jar;F:MySQL_Java_ReportsiReport-0.2.2libjasperreports-0.5.0.jar;F:MySQL_Java_ReportsiReport-0.2.2libjcommon-0.8.0.jar;F:MySQL_Java_ReportsiReport-0.2.2libjfreechart-0.9.8.jar;F:MySQL_Java_ReportsiReport-0.2.2libmysql-connector-java-3.0.8-stable-bin.jar;F:MySQL_Java_ReportsiReport-0.2.2libxercesImpl.jar;F:MySQL_Java_ReportsiReport-0.2.2libxmlParserAPIs.jar F:MySQL_Java_ReportsiReport-0.2.2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.<init>(Win32Process.java:63) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Runtime.java:550) at java.lang.Runtime.exec(Runtime.java:475) at java.lang.Runtime.exec(Runtime.java:441) at dori.jasper.engine.design.JRJavacCompiler.compileClass(JRJavacCompiler.java:102) ... 6 more

 

 

 

 

By: G᢯r M󣺡r - moczar

RE: Compiling problem

2003-10-02 09:10

Is tools.jar in ireport2/lib directory?

 

 

 

 

By: justin goyanko - ogoy

RE: Compiling problem

2003-10-02 09:11

Sorry i thought the page will display the text cleanly anyway this was the error..

 

Caused by: java.io.IOException: CreateProcess: javac -classpath F:MySQL_Java_ReportsiReport-0.2.2;

F:MySQL_Java_ReportsiReport-0.2.2 classes;

F:MySQL_Java_ReportsiReport-0.2.2libcommons-beanutils.jar;

F:MySQL_Java_ReportsiReport-0.2.2libcommons-collections.jar;

F:MySQL_Java_ReportsiReport-0.2.2libcommons-digester.jar;

F:MySQL_Java_ReportsiReport-0.2.2libcommons-logging-api.jar;

F:MySQL_Java_ReportsiReport-0.2.2libcommons-logging.jar;

F:MySQL_Java_ReportsiReport-0.2.2libitext-0.96.jar;

F:MySQL_Java_ReportsiReport-0.2.2libiTextAsian.jar;

F:MySQL_Java_ReportsiReport-0.2.2libjakarta-poi-1.5.1-final-20020615.jar;

F:MySQL_Java_ReportsiReport-0.2.2libjasperreports-0.5.0.jar;

F:MySQL_Java_ReportsiReport-0.2.2libjcommon-0.8.0.jar;

F:MySQL_Java_ReportsiReport-0.2.2libjfreechart-0.9.8.jar;

F:MySQL_Java_ReportsiReport-0.2.2libmysql-connector-java-3.0.8-stable-bin.jar;

F:MySQL_Java_ReportsiReport-0.2.2libxercesImpl.jar;

F:MySQL_Java_ReportsiReport-0.2.2libxmlParserAPIs.jar F:MySQL_Java_ReportsiReport-0.2.2

at java.lang.Win32Process.create (Native Method)

at java.lang.Win32Process.<init>(Win32Process.java:63)

at java.lang.Runtime.execInternal(Native Method)

at java.lang.Runtime.exec(Runtime.java:550)

at java.lang.Runtime.exec(Runtime.java:475)

at java.lang.Runtime.exec(Runtime.java:441)

at dori.jasper.engine.design.JRJavacCompiler.compileClass(JRJavacCompiler.java:102)

... 6 more

 

Hope it displays cleanly..

 

 

 

 

By: justin goyanko - ogoy

RE: Compiling problem

2003-10-02 09:24

Thanks moczar.. it compiled successfully! i've been trying to make a simple report on the report wizard an apparently no values are shown on the details band of my report? Connections are ok though..

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...