BIRT报告未在Web查看器中运行 [英] BIRT report not running in web viewer

查看:151
本文介绍了BIRT报告未在Web查看器中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用BIRT Designer设计报告.当我尝试预览报告或以html格式运行时,报告看起来还不错.但是,当我尝试在报表查看器(在IE或Firefox中打开)中运行报表时,它似乎不起作用.请检查附件图片

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

以上报告是在需要提示/参数/过滤器的时候.当我尝试运行不带任何参数的报告时..一个简单的图表..我收到以下错误

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

有人可以告诉我如何解决这个问题

Can someone please tell me how to fix this

问候 赛德

推荐答案

考虑到答案已经有一个非常有用的链接,但是由于这个问题是很久以前提出的,而且我和我的一些同事都面临着同样的问题,因此我将对此做进一步的阐述.

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,到目前为止,不适用于Java 8 .您必须使用Java 7,或劣等.因此,请转到Oracle的 JRE 7下载页面并安装适当的版本.请记住,它必须与您的Eclipse版本相同(带有x86 JRE 7的x86 Eclipse;带有x64 JRE 7的x64 Eclipse).

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).

在那之后,您必须添加一个指向Java 7的bin文件夹的路径系统变量.为此,右键单击我的电脑",选择属性",选择高级系统配置",然后单击环境变量".在系统变量"中,双击路径"选项.通过包括到JRE 7 bin的路径(例如,例如C:\Program Files\Java\jre7\bin)来编辑变量值".请记住,请使用分号将此变量与其他变量分开!

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.

最后,尝试再次在Web Viewer上运行报表.如果有效,那就太好了!如果没有,请继续阅读.

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

如果查看器出现时没有错误,但为空,则可以尝试使用计算机的导航器(Firefox,Chrome ...)运行它.

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

为此,请转到窗口->首选项->常规-> Web浏览器,然后勾选使用外部Web浏览器".您可以在以下选项中选择要使用的浏览器.之后,转到窗口->首选项->报表设计->预览,然后勾选始终使用外部浏览器".

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".

要归功于应收款项,我使用我在Eclipse.org 上发现了这个论坛,并被 David Flam 表示欢迎.

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.

这篇关于BIRT报告未在Web查看器中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆