今天对birt进行研究, 设计比较简单, 很快就做出了一张报表, 在eclipse中也能预览, 但布署到tomcat下不能显示, 报以下错误:
Cannot load JDBC Driver class: com.mysql.jdbc.Driver birt
后研究发现\WEB-INF\platform\plugins\org.eclipse.birt.report.data.oda.jdbc_2.2.1.r22x_v20070919\drivers下有readme.txt文件, 内容如下:
Place JDBC drivers' JAR files in this directory to make them available to BIRT.
依照其说明把数据库驱动文件放到此目录下, 一切正常.
汗了一把.