1
我們發現在將tomcat從8.0.30升級到8.0.43時,JasperReports會引發以下錯誤。爲什麼報告生成器在升級到tomcat 8.0.43時發生異常
JasperCompileManager.compileReport(jrxmlFilePathname);
---------------------^^^^^^^^^^^^^
Errors were encountered when compiling report expressions class file:
1. java.lang.Double cannot be resolved to a type
value = ((java.lang.Double)field_amount.getValue()); //$JR_EXPR_ID=15$
<-------------->
此錯誤降級後的tomcat去8.0.30