I have created an application in Jmix and designed a report in Jasper Studio. I use JasperReports7.0.0 package to compile and run the report. It works fine when I run the report in Jmix studio (IntelliJ). But when I package it as WAR and deploy in Tomcat it shows the following error.
net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
C:\Tomcat-10.1.33\bin\ATG_Invoice_81cd3f14cc8c377733fcf531f41150edbd996f6289648b971b4a9bf8f6f66b1d.java:18: error: cannot find symbol
public class ATG_Invoice_81cd3f14cc8c377733fcf531f41150edbd996f6289648b971b4a9bf8f6f66b1d extends JREvaluator
^
symbol: class JREvaluator
C:\Tomcat-10.1.33\bin\ATG_Invoice_81cd3f14cc8c377733fcf531f41150edbd996f6289648b971b4a9bf8f6f66b1d.java:25: error: cannot find symbol
private JRFillParameter parameter_qrCodeFolder = null;
Below is the screen shot of the source code.