首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

There is no report design object available跟Can not load the report query

2012-07-19 
There is no report design object available和Can not load the report query最近用到birt,才学也没几天,

There is no report design object available和Can not load the report query
最近用到birt,才学也没几天,遇到一些问题,把比较烦人的弄来上记录
There is no report design object available:
搜索各种资源都没能解决,网上主流的说法是版本问题,
第一种办法是统一版本
第二种是将你XML里面的这两行代码替换成旧版本的
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.16" id="1">
<property name="createdBy">Eclipse BIRT Designer Version 2.3.0.v20080606 Build &lt;2.3.0.v20080618-0630></property>
在此也不做赘述,我遇到这个问题竟然是在浏览器拼参时少写了一个下划线……都要疯掉了当时……
http://192.168.0.216:8080/birt/frameset?_report=original/accountClassifyStackable.rptdesign&__format=html
正确的应该是:
http://192.168.0.216:8080/birt/frameset?__report=original/accountClassifyStackable.rptdesign&__format=html
呃呃呃……
另一个烦人的问题:
org.eclipse.birt.report.engine.api.EngineException: Can not load the report query: 7. Errors occurred when generating the report document for the report element with ID 7. (Element ID:7)
这个问题一出来,首先要去看看自己的tomcat服务器下有没有数据库的驱动包,我就是因为这个,在排查了N遍报表无果后,才找到问题反在,不过一般情况下还是出在报表本身,因为报表的绑定列值太容易出问题了。
引以为戒!!!

热点排行