i had a problem for a long time and i could not solve it.
i work on a project that is swing base, and I use iReport as reporting tool.
the problem is when i try to call the reprt from a a frame by clicking a button:
it works well when I run it in idea environment, but I've made jar file from the
whole project.when I try to run the jar file and
then calling the rport it encounters following error:
how should i address the jasper file?! or where should i put the .jasper files?
java.lang.ClassNotFoundException: net/sf/jasperreports/engine/base/JRBaseBox
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:217)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:558)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)