2007年4月17日火曜日

BIRT PDF出力に失敗する

BIRT2.1.2でレポートのPDFプレビュー時に、Eclipseのツールバーより[View report as PDF]を選ぶと、
以下のエラーが発生する。

org.eclipse.birt.report.service.api.ReportServiceException: Report engine fails to create extension to handle this request.

http://www.eclipse.org/birt/phoenix/build/#itextによると、

BIRT 2.1.0 (or later)
The itext-1.3.jar file needs to be copied to the plugins/com.lowagie.itext_*/lib directory.

Birt 2.1.1 or Later Note:
* To Support Asian fonts in PDF, download the following jar and place it in the plugins/com.lowagie.itext_*/lib directory.
iTextAsian.jar.

と書いてある。
lib以下に、itext-1.3.jar, iTextAsian.jarをコピーしたら、正常に動作した。
おお、素晴らしい。

ここも参照。

0 件のコメント: