更新到Windows 8.1后,BIRT报告未在eclipse中运行

最近更新到Windows 8.1后,我无法在eclipse中运行birt报告。 Eclipse布局视图工作正常但是当我运行报告时没有任何反应。 以下是我调试报告时的信息。 请提出解决此问题的方法

Oct 19, 2013 5:09:02 AM org.eclipse.birt.report.debug.internal.core.vm.ReportVMServer start INFO: [Server] client accepted Oct 19, 2013 5:09:02 AM org.eclipse.birt.report.debug.internal.core.vm.ReportVMServer$1 run INFO: [Server] enter request dispatching Oct 19, 2013 5:09:02 AM org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher configEngine INFO: User class path received: Oct 19, 2013 5:09:03 AM org.eclipse.birt.report.engine.api.impl.EngineTask handleFatalExceptions SEVERE: An error happened while running the report. Cause: org.eclipse.birt.report.engine.api.EngineException: Failed to initialize emitter. at org.eclipse.birt.report.engine.emitter.EmitterUtil.getOuputStream(EmitterUtil.java:82) at org.eclipse.birt.report.engine.emitter.html.HTMLReportEmitter.initialize(HTMLReportEmitter.java:356) at org.eclipse.birt.report.engine.api.impl.EngineTask.initializeContentEmitter(EngineTask.java:2286) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:118) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77) at org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher.createReport(ReportLauncher.java:600) at org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher.renderReport(ReportLauncher.java:547) at org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher.run(ReportLauncher.java:461) at org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher.main(ReportLauncher.java:105) at org.eclipse.birt.report.debug.internal.core.ReportDebugger.start(ReportDebugger.java:39) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) Caused by: java.io.FileNotFoundException: \new_report.rptdesign.html (Access is denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:212) at java.io.FileOutputStream.(FileOutputStream.java:165) at org.eclipse.birt.report.engine.emitter.EmitterUtil.getOuputStream(EmitterUtil.java:77) ... 22 more Oct 19, 2013 5:09:03 AM org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher renderReport SEVERE: Engine exception org.eclipse.birt.report.engine.api.EngineException: Failed to initialize emitter. at org.eclipse.birt.report.engine.emitter.EmitterUtil.getOuputStream(EmitterUtil.java:82) at org.eclipse.birt.report.engine.emitter.html.HTMLReportEmitter.initialize(HTMLReportEmitter.java:356) at org.eclipse.birt.report.engine.api.impl.EngineTask.initializeContentEmitter(EngineTask.java:2286) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:118) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77) at org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher.createReport(ReportLauncher.java:600) at org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher.renderReport(ReportLauncher.java:547) at org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher.run(ReportLauncher.java:461) at org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher.main(ReportLauncher.java:105) at org.eclipse.birt.report.debug.internal.core.ReportDebugger.start(ReportDebugger.java:39) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) Caused by: java.io.FileNotFoundException: \new_report.rptdesign.html (Access is denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:212) at java.io.FileOutputStream.(FileOutputStream.java:165) at org.eclipse.birt.report.engine.emitter.EmitterUtil.getOuputStream(EmitterUtil.java:77) ... 22 more Oct 19, 2013 5:09:03 AM org.eclipse.birt.report.debug.internal.core.vm.ReportVMServer$1 run WARNING: [Server] client disconnected 

如果本地用户对Win 7 SP1进行了更新,则问题是注册表项。

HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ Main \ FeaturControl \ FEATURE_BROWSER_EMULATION

jawaw.exe = 9000

如果设置了此条目,则无论您使用什么参数,内部Web浏览器始终以兼容模式版本9启动IE,以启动Eclipse或.jnlp应用程序。

因此,您必须删除此注册表项或将其设置为9999. 9999表示IE浏览器不能在兼容模式下运行。

您还可以使用以下条目来启动您的应用程序:

 -Dorg.eclipse.swt.browser.DefaultType=ie -Dorg.eclipse.swt.browser.IEVersion=9999 

在elipse.ini的末尾

有了这个设置,IE11的问题就消失了

请参阅eclipse跟踪器

BBC新闻报道了Windows 8.1的问题 。 建议你恢复早期版本来运行BIRT。

评论中的链接表明存在多方BIRT和Windows 8.1问题。 一些报告无法卸载8.1。 有一个videohttp://www.youtube.com/watch?v=WkS-PuXxxm0可能有助于卸载。

编辑2013年11月15日根据http://developer.actuate.com/community/forum/index.php?/topic/30484-birt-report-not-running-in-eclipse-after-update-to-windows-81 /用户似乎只是在尝试在BIRT中预览报表时遇到此问题,在Web窗口中打开报表似乎工作正常。

我在空白页面遇到了同样的问题,当涉及参数时,参数窗口没有加载。

我想我找到了解决方法,虽然它在预览模式下不起作用:

在报表设计器中,转到窗口>首选项>报表设计>预览,并将“始终使用外部浏览器”设置为true。 单击“应用”

仍在首选项选项卡中,转到常规> Web浏览器并选择“使用外部Web浏览器”,然后选择要测试的浏览器。

这使我能够在Windows 8上继续开发,虽然它并不理想!

我希望这有帮助!