This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 1303
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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Jasper Report TroubleShooting
 
Similar Threads
Java Virtual Machine troubleshooting
Problem with jasper report -loading stream
Jasper Compile issue rergarding crosstab
Exporting .jasper files with NetBeans
Can't read same object multiple times