This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Jasper Report    TroubleShooting" Watch "Jasper Report    TroubleShooting" New topic
Author

Jasper Report TroubleShooting

Fernando Mendez
Greenhorn

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

hello.

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.

THX.
kri shan
Ranch Hand

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

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Jasper Report TroubleShooting
 
Similar Threads
Can't read same object multiple times
Java Virtual Machine troubleshooting
Jasper Compile issue rergarding crosstab
Problem with jasper report -loading stream
Exporting .jasper files with NetBeans