wood burning stoves*
The moose likes Other Open Source Projects and the fly likes JasperReports compiling problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JasperReports compiling problem" Watch "JasperReports compiling problem" New topic
Author

JasperReports compiling problem

Anna Kononen
Greenhorn

Joined: Sep 28, 2004
Posts: 4
Hello,
I am new to JasperReports, and I am trying to compile one of the demo files provided with the application. I get the following error:

C:\ann\sun\jdk\bin>javac -classpath C:\ann\JasperReports\jasperreports-0.6.1\lib\tools.jar;
C:\ann\JasperReports\jasperreports-0.6.1\classes\net\sf\jasperrepo
rts\engine\;
C:\ann\JasperReports\jasperreports-0.6.1\classes C:\ann\JasperReports\jasperreports-0.6.1\demo\samples\jasper\JasperApp.java
C:\ann\JasperReports\jasperreports-0.6.1\demo\samples\jasper\JasperApp.java:135
: cannot access JasperCompileManager
bad class file: C:\ann\JasperReports\jasperreports-0.6.1\classes\net\sf\jasperr
eports\engine\JasperCompileManager.class
class file contains wrong class: net.sf.jasperreports.engine.JasperCompileManager
Please remove or make sure it appears in the correct subdirectory of the classpath.
JasperCompileManager.compileReportToFile(fileNam
e);
^
1 error

I am sure it's smth simple....please help
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JasperReports compiling problem
 
Similar Threads
Jasper Reports
Tomcat 6 crash
Problem with jasper reports
Report using Jasper API
Jasper and Eclipse