[英]Eclipse and BIRT Error - View Report in Web Viewer
I am using Eclipse 4.3 Kepler with BIRT 4.3.2 on a 64-bit machine running Windows 7 and Java 8. 我在运行Windows 7和Java 8的64位计算机上使用Eclipse 4.3 Kepler和BIRT 4.3.2。
When I select Run -> View Report -> In Web Viewer the following error message is displayed: 当我选择运行 - >查看报告 - >在Web查看器中时,会显示以下错误消息:
HTTP ERROR: 500 HTTP错误:500
Problem accessing /viewer/frameset. 访问/查看器/框架集时出现问题。 Reason:
原因:
Server Error 服务器错误
Powered by Jetty:// 由Jetty提供://
This happens even with a simple "Hello World" report that contains only static (ie non-dynamic) content. 即使使用仅包含静态(即非动态)内容的简单“Hello World”报告,也会发生这种情况。
Does anyone know how I can fix this? 有谁知道我怎么解决这个问题?
Seems there is a problem with the "View Report" Option where the internal Jetty Server does not work with Java 8. 似乎“查看报告”选项存在问题,其中内部Jetty服务器无法与Java 8一起使用。
Downgrading to Java 7 worked fine. 降级到Java 7工作正常。 In Java 8 you have to use the View Report as option eg View Report as Doc.
在Java 8中,您必须使用“查看报告”作为选项,例如“将报告视为文档”。
See also here: https://www.eclipse.org/forums/index.php/t/739682/ There is a bugzilla entry, unfortunatly with no solution yet. 另见: http : //www.eclipse.org/forums/index.php/t/739682/有一个bugzilla条目,不幸的是还没有解决方案。
Check Data source. 检查数据源。
I get same error when i try to run the report taken from the server having only DB driver class and JNDI URL and having blank in DB URL, Username and Password. 当我尝试运行从仅具有DB驱动程序类和JNDI URL并且在DB URL,用户名和密码中具有空白的服务器获取的报告时,我得到相同的错误。
I suspect the problem is that you have not installed a web viewer like Apache Tomcat http://tomcat.apache.org 我怀疑问题是你没有安装像Apache Tomcat http://tomcat.apache.org这样的Web查看器
In much the same way that you can not open a BIRT report as Excel on a machine without Excel. 与在没有Excel的计算机上无法以Excel格式打开BIRT报告的方式大致相同。 you can not open as a web page without a web viewer.
没有Web查看器,您无法打开网页。
I put some similar comments on the question BIRT report not running in web viewer but the OP has not followed through. 我对BIRT报告没有在网络浏览器中运行的问题提出了类似的评论,但是OP没有遵循。
Work in progress, attempting to recreate a functional system that matches a working version (4.2.0). 正在进行中,尝试重新创建与工作版本匹配的功能系统(4.2.0)。
Install Driver For BIRT 为BIRT安装驱动程序
Check that you have both 32 & 64 bit Java is installed http://www.java.com/en/download/manual.jsp 检查您是否安装了32位和64位Java http://www.java.com/en/download/manual.jsp
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.