Jump to content
Changes to the Jaspersoft community edition download ×

Reports not showing after making Java .jar file?


ml.francis

Recommended Posts

Hi, I think this question was asked before but it didn't have an answer, I'm fairly new to Jasper Reports so I'm having trouble displaying it in my Java program after creating a .jar file for my Java program. I use IntelliJ and made a .jar file for my Java app and it uses reports which is located in the /src folder of the project, the app looks for the .jrxml file in that folder and displays it in my swing app. It works fine when I'm running the app on the IDE but when I created a .jar file and moved the .jar file to another folder and run the program, the part where the reports are loaded is not showing anything. Should I be configuring something in IntelliJ to add the .jrxml file in the .jar file? Am I missing something while building this app? I also moved the .jrxml files to the .jar folder and still nothing. Thanks for the answers, if any, in advance.

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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