Sam*_*idi 2 java jasper-reports
我在 iReport 中有项目,我想在 jasper studio 中构建它,因为我使用一些外部 jar 文件来转换日期,但是在 jasper studio 中我无法使用它们,我将这些 jar 文件添加right click on project folder > properties > java build path > libraries > add External JARs..到 .见报告预览:
net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. com.ghasemkiani.util.icu.PersianDateFormat cannot be resolved to a type
value = new com.ghasemkiani.util.icu.PersianDateFormat("yyyy/MM/dd").format(((java.sql.Timestamp)field_ORDERDATE.getValue())); //$JR_EXPR_ID=9$
<---------------------------------------->
2. com.ghasemkiani.util.icu.PersianDateFormat cannot be resolved to a type
value = new com.ghasemkiani.util.icu.PersianDateFormat("yyyy/MM/dd").format(((java.sql.Timestamp)field_ORDERDATE.getOldValue())); //$JR_EXPR_ID=9$
<---------------------------------------->
Run Code Online (Sandbox Code Playgroud)
所以,我的问题是:如何添加外部 jar 文件并使用它?
| 归档时间: |
|
| 查看次数: |
22829 次 |
| 最近记录: |