I'm creating reports using Jasper and JasperSoft Studio. It's a maven springboot application. The reports work good. Also the data connection works as it should.
I only have problems with the built-in functions (like sum(), trim(), replace(), ...). Also I'm not able to write custom functions. When I call one of those functions, an error appears on generating the report. Following the message:
1. The method REPLACE(String, int, int, String) is undefined for the type report_1475756642067_881680
value = REPLACE(((java.lang.String)field1.getValue()),2,5,"test"); //$JR_EXPR_ID=65$
All works fine in Jaspersoft studio, the error only appears when I generate the report.
In Jaspersoft Studio all required external libraries are added. Does anybody have any ideas?