iReport+jasperReport 常見異常
摘要: java.lang.NoClassDefFoundError: org/codehaus/groovy/control/CompilationFailedException異常
原因:沒有導(dǎo)入 groovy-all.jar 包,導(dǎo)入 groovy-all.jar 包就可以了。
閱讀全文
posted @
2011-11-18 14:50 Ke 閱讀(1498) |
評論 (0) 編輯
轉(zhuǎn):ireport4.0.1+jasperreport4.0.1使用小結(jié)
摘要: 使用Ireport最新的4.0.1版本
1、在Ireport加添加數(shù)據(jù)源:窗口>服務(wù)>數(shù)據(jù)庫>增加數(shù)據(jù)源
2、在Ireport4.0.1下實現(xiàn)PDF中文報表,解決中文字體問題:
下載安裝根目錄如D:\Program Files\iReport-4.0.1,在其下目錄D:\Program Files\iReport-4.0.1\ireport\modules\ext中包括了許多應(yīng)用所需要的jar文件。打開ireport,工具>選項>iReport>Classpath>在里面添加jar:添加ext目錄下的iText-2.1.7.jar和iTextAsian.jar兩個jar;
閱讀全文
posted @
2011-10-31 17:18 Ke 閱讀(1971) |
評論 (0) 編輯