when I try to add a report unit with a custom query executer factory using iReport 3.5.2 (up to 3.6.0), the Report Unit Wizard ends with an error message like this:
net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: Class .CustomQueryExecuterFactory not found.
The report is compiled and rendered locally using iReport without any problems. The problem arises only upon report upload to JasperServer.
My custom query executer factory class (and all other needed classes) is already present on the report's classpath (set by Tools->Options->iReport->Classpath settings), the JasperServer instance has the custom classes in WEB-INF/lib directory, too.
The only known way to add a report unit with custom query executer factory using iReport is to use the iReport 3.5.0 or 3.5.1 (this works for me). The iReport versions 3.5.2, 3.5.3, and 3.6.0 seem to have a slightly changed report upload mechanism that does not work with such reports.
This behavior is rather strange for me, and I don't know if it is a bug or my environment is not configured properly.
Thanks for clarification of this issue in advance.