File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jasper Report TroubleShooting

 
Fernando Mendez
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1453
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create jrxml file thru iReport designer tool. It's easy way to create jrxml for jasper Reports.
 
Fernando Mendez
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic