permaculture playing cards
The moose likes Beginning Java and the fly likes Jasper Report    TroubleShooting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Jasper Report    TroubleShooting" Watch "Jasper Report    TroubleShooting" New topic

Jasper Report TroubleShooting

Fernando Mendez

Joined: Jun 06, 2004
Posts: 10
Excuse my Inglish.


I`m tryng to build a proyect, when the .jar is made it, and i try to run it , i get a message "The proyect has no main class", but, when i take out all the code about the jasper report(Import classes,etc) and the code that generate the report, everything run fine in the .jar file. It seems to be that the jaspers imports and code are generating the problem,or that i forgot to put some file in some place.

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1430
Create jrxml file thru iReport designer tool. It's easy way to create jrxml for jasper Reports.
Fernando Mendez

Joined: Jun 06, 2004
Posts: 10
i all ready did that,and everything run just fine when i run it in the IDE(Netbean), the problem came , when i build the .jar file , and if the main class that i had contain Jasper Report Code.
I agree. Here's the link:
subject: Jasper Report TroubleShooting
It's not a secret anymore!