pyreportjasper
pyreportjasper copied to clipboard
NameError: Error fill report: Erro fill internal: java.lang.ClassNotFoundException: org.h2.Driver
Can you verify, that h2 Database is supported for report creation?
I use the following configuration:
` path = os.path.dirname(os.path.abspath(file))
connection={'driver':'generic', 'jdbc_driver':'org.h2.Driver', 'jdbc_url':'jdbc:h2:'+path+'/datawarehouse', 'jdbc_dir':path+'/lib/'} `
and get the error message above.
That's the structure of the files and libraries.
I hope you can help me.
The H2 Database is indeed supported. What error is being generated? Could you share the code? Would it be possible to print the path being passed as a parameter to jdbc_dir
and let us know?