JasperReport 导出报错 error evaluating expression for source text: $f{}

630 阅读1分钟

因为自己 javaBean 里面定义的类型是int,而模板中定位的是strng类型。根据报错的信息,找到对应的字段,修改一下类型就行。