Should be: /* at the end.
CLASSPATH=/home/frappe/frappe-bench/apps/jasper_erpnext_report/jasper_erpnext_report/java/lib/*
But i will see what maybe wrong. With me everything is ok, but as i said i will check.
Note: When you upload a jrxml file as in your case jasper is called to compile the .jrxml file to .jasper, but in your case, because java don’t find the driver jasper don’t compile and you don’t get the save button enabled.
So please check in folder frappe-bench/sites/name of your site/jasper/name of report/compiled/
for the name of your report.jasper file. If do not have .jasper file or compiled folder then you must find out what is wrong with CLASSPATH… I need more info to find the error. Put some prints all the way to generate the report. Let me know if you want that i tell you where to put them.
Frappe team have been made some change and i have been adapt my jasper to that. Maybe i miss some thing.
Also update jasper again, because i think you don’t have the trace error feature. When i removed mariadb client driver i get the error and you should get in client this:
Error in report Cherry Local, error is: Traceback (innermost last):
File "/Users/saguas/erpnext4/erpnext/frappe_v5/frappe-bench/apps/jasper_erpnext_report/jasper_erpnext_report/core/JasperLocal.py", line 35, in run_local_report_async
cresp = self.prepare_report_async(path, doc, data=data, params=params, pformat=pformat, ncopies=ncopies, for_all_sites=for_all_sites)
File "/Users/saguas/erpnext4/erpnext/frappe_v5/frappe-bench/apps/jasper_erpnext_report/jasper_erpnext_report/core/JasperBase.py", line 398, in prepare_report_async
resps.append(self._run_report_async(path, doc, data=data, params=params, pformat=pformat, ncopies=ncopies, for_all_sites=for_all_sites))
File "/Users/saguas/erpnext4/erpnext/frappe_v5/frappe-bench/apps/jasper_erpnext_report/jasper_erpnext_report/core/JasperLocal.py", line 127, in _run_report_async
self._export_report(mparams, data.get("report_name"), data.get("grid_data"), frappe.local.batch.sessionId, cur_doctype, custom, ids, frappe.local.fds)
File "/Users/saguas/erpnext4/erpnext/frappe_v5/frappe-bench/apps/jasper_erpnext_report/jasper_erpnext_report/core/JasperLocal.py", line 151, in _export_report
frappe.local.batch.batchReport.addToBatch(mparams, data, cols, fds)
File "jnius_export_class.pxi", line 638, in jnius.JavaMethod.__call__ (jnius/jnius.c:22773)
File "jnius_export_class.pxi", line 732, in jnius.JavaMethod.call_method (jnius/jnius.c:23857)
File "jnius_utils.pxi", line 93, in jnius.check_exception (jnius/jnius.c:4427)
JavaException: JVM exception occurred: org.mariadb.jdbc.Driver
And yes you do not have a connection string because your .jrxml file do not compile. One condition to have connection string is to have query string. If do not compile do not save then you don’t have connection string.
Thanks.