Jump to content
JasperReports Library 7.0 is now available ×

Running Barbecue Demo in Eclipse without Ant


2004 IR Help

Recommended Posts

By: Thomas - thomas80

Running Barbecue Demo in Eclipse without Ant

2005-08-10 04:48

Hello,

 

I just downloaded JasperReports. I wanted to run the single Barbecue Demo in Eclipse. Output should be PDF.

 

So I put in Eclipse under Run -->Arguments the following statement :

 

-Tpdf -FBarbecueReport.jrxml

 

Unfortunately, I got the following error :

 

java.io.StreamCorruptedException: invalid stream header

at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:753)

at java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)

at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:84)

at net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:270)

at BarbecueApp.main(BarbecueApp.java:71)

NESTED BY :

java.io.StreamCorruptedException: invalid stream header....

 

Any help appreciated !

 

 

 

 

 

 

By: Lucian Chirita - lucianc

RE: Running Barbecue Demo in Eclipse without

2005-08-10 05:08

Hi

 

For the PDF export task of the Barbecue sample you have to provide the serialiazed jasper print (.jrprint) file. This object/file is obtained by compiling and filling the report design (.jrxml).

 

HTH,

Lucian

 

 

 

 

By: Thomas - thomas80

RE: Running Barbecue Demo in Eclipse without

2005-08-10 13:43

Thanks a lot !

 

Maybe you can answer my new question, too ;-)

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...