File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JasperReports compiling problem
 
Similar Threads
Report using Jasper API
Problem with jasper reports
Jasper and Eclipse
Jasper Reports
Tomcat 6 crash