Birt viewer cannot load the report query

爷,独闯天下 提交于 2019-12-10 17:17:30

问题


When I am trying to run my BIRT viewer, the following error is displayed:

Can not load the report query: 163. Errors occurred when generating the report document for the report element with ID 163. (Element ID:163)

But the same module is successfully giving result in report design in Eclipse. I am using JDBC connection. How do I solve this?


回答1:


Verify that your jdbc driver to the plugins/org.eclipse.birt.report.data.oda.jdbc/driver folder. That's usually what causes this.

It could also be a parameter that not getting set when you load the report.




回答2:


I had the same error message and my problem was in the query:

My Scripted DataSet was returning a String value mapped to a Integer column.




回答3:


If you want to log the SQL query text, set logging on the org.eclipse.birt.report.data.oda.jdbc.Statement , which is responsible for preparing the SQL queries.




回答4:


In my case, the datasource for BIRT was not configured correctly. I needed to make sure the JNDI name matched what was in the config for my container.



来源:https://stackoverflow.com/questions/6693310/birt-viewer-cannot-load-the-report-query

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!