专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > 人工智能

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

发布时间:2011-07-03 09:15:33 文章来源:www.iduyao.cn 采编人员:星星草
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遍报表无果后,才找到问题反在,不过一般情况下还是出在报表本身,因为报表的绑定列值太容易出问题了。
引以为戒!!!

友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: