BIRT报表学习,用本地数据源产生报表出现问题。求高手帮忙
新人学习BIRT报表,部署自己报表出现问题。
网页提示
+ An exception occurred during processing. Please see the following message for details:
Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.dbprofile.
org.eclipse.datatools.connectivity.oda.OdaException ;
java.lang.NullPointerException (Element ID:163)
官网下载WebViewerExample工程能正常运行,自己的工程用classic Models Inc的数据源的报表也没问题。但是连接本地数据库(sqlserver)的报表就出现这样的错。创建数据源的时候测试过,连接是成功的。web-inf/lib也是有对应sqljdbc4.jar的。
而且myeclipse的控制台并不报错。只是前端提示如上。好头疼,求高手帮忙。