1. 遇到錯誤: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
解決方法: 將 commons-logging.jar 加入 WebViewerExample 的 web-inf/lib 之下
2. 遇到錯誤: jdbc driver not found exception
解決方法: In order to utilize JDBC drivers to access data for your BIRT reports with the Web Viewer or through the Deployment Kit or iServer Express, the Jar files need to be placed in the proper directory
Example: tomcat6\webapps\birt\WEB-INF\platform\plugins\org.eclipse.birt.report.data.oda.jdbc_2.6.2.r262_v20110127\drivers
3.遇到錯誤: Out of memory error while running large size report
解決方法: 在 catalina.bat 中加大 memory szie 的設定 例如:
set "CATALINA_OPTS=-Xms256M -Xmx1024M"
參考:
http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php#install_viewer
http://www.birt-exchange.org/org/devshare/deploying-birt-reports/169-placing-jdbc-drivers-for-birt-and-e-spreadsheet-reports/
http://www.eclipse.org/forums/index.php/m/505462/