birt插件 web,BIRT报告未在Web查看器中运行

I am designing reports in BIRT designer. When I try to preview the report or run as html, the report seems fine. However, when I try to run the report in report viewer (which opens in IE or firefox), it does not seem to work. Please check the attached image

ffcc8792592c562f4021576884ba8899.png

MdOcq.jpg

the above report was when it needed a prompt/parameter/filter. When I try to run a report without any parameter..a simple chart..I get the following error

SvreZ.jpg

Can someone please tell me how to fix this

Regards

Syed

解决方案

I was just going to leave this as it is, considering this answer already has a very helpful link, but since this question was asked long ago and I just faced the same problem, as well as some of my colleagues, I'm going to elaborate on this further.

Birt Web Viewer, so far, doesn't work with Java 8. You have to use Java 7, or inferior. So, go to Oracle's JRE 7 download page and install the appropriate version. Remember it has to be the same version as your Eclipse (x86 Eclipse with x86 JRE 7; x64 Eclipse with x64 JRE 7).

After that, you'll have to add a Path System Variable pointing to Java 7's bin folder. To do this, right click on "My Computer", select "Properties", select "Advanced System Configurations" and click on "Environment Variables". In "System Variables", double click on the "Path" option. Edit "Variable Value" by including the path to JRE 7 bin (such as C:\Program Files\Java\jre7\bin, for example). Remember to separate this variable from the others with a semicolon!

This System Variable part is a bit confusing, but you can check videos of it in case of doubt, such as this one.

Finally, try to run the report on Web Viewer again. If it works, great! If not, continue reading.

In case the viewer appears without errors, but empty, you can try to run it using your computer's navigator (Firefox, Chrome...).

To do this, go to Window -> Preferences -> General -> Web Browser and tick "Use external web browser". You can select which browser you want to use on the options below. After that, go to Window -> Preferences -> Report Design -> Preview and tick "Always use external browsers".

To give credit where is due, I figured all of this by using this forum on Eclipse.org, that I found out by myself as well as was sugested by David Flam.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值