pyreportjasper icon indicating copy to clipboard operation
pyreportjasper copied to clipboard

Error in Jpype

Open aachiary opened this issue 2 years ago • 0 comments

Hi, I'm having trouble to compile a JSON based report after getting an .exe of my application with cx_Freeze. When I use it with python command there is no problem. The error I get is:

Traceback (most recent call last): File "C:\Users\Andy\AppData\Local\Programs\Python\Python39\Lib\site-packages\cx_Freeze\initscripts_startup_.py", line 120, in run module_init.run(name + "main") File "C:\Users\Andy\AppData\Local\Programs\Python\Python39\Lib\site-packages\cx_Freeze\initscripts\Console.py", line 16, in run exec(code, module_main.dict) File "aprobar_factura.py", line 25, in File "D:\Python-proj\loffreda-service\factura.py", line 108, in imprimir pyreportjasper.compile(write_jasper=True) File "C:\Users\Andy\AppData\Local\Programs\Python\Python39\lib\site-packages\pyreportjasper\pyreportjasper.py", line 130, in compile raise error NameError: Error compile file: java.lang.ClassNotFoundException: org.jpype.classloader.DynamicClassLoader

I got it with JPype 1.3 and 1.4 Thanks!

aachiary avatar Jul 18 '22 03:07 aachiary