Java 适用于 Chrome 和 Internet Explorer 的 GWT 开发人员插件 - 阻止安装时出错

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23487257/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 23:20:06  来源:igfitidea点击:

GWT Developer plugin for Chrome and Internet Explorer - error preventing installation

javainternet-explorergoogle-chromegwt

提问by Glyn

I am trying to install the GWT Developer plugin for Chrome (Version 34.0.1847.131 m) and I get the following error "This application is not supported on this computer. Installation has been disabled. The following problems are detected:" and "NPAPI plugin is required by this app". Is there a way around this?

我正在尝试为 Chrome(版本 34.0.1847.131 m)安装 GWT Developer 插件,但出现以下错误“此计算机不支持此应用程序。安装已被禁用。检测到以下问题:”和“NPAPI 插件此应用程序需要”。有没有解决的办法?

I have installed Microsoft Visual C++ 2008 SP1 Redistributable Package as suggested by one answer.

我已经按照一个答案的建议安装了 Microsoft Visual C++ 2008 SP1 Redistributable Package。

I am also trying to run in Explorer (version 11) and it requires me to download the GWT Developer plugin for Firefox. Which then requires content to be opened in a new window. I then elect to open "gwt-dev-plugin.xpi". When it finishes downloading it requests me to save it (if I open it it just download again). Is there a way around this?

我还尝试在资源管理器(版本 11)中运行,它要求我下载适用于 Firefox 的 GWT 开发人员插件。然后需要在新窗口中打开内容。然后我选择打开“gwt-dev-plugin.xpi”。当它完成下载时,它要求我保存它(如果我打开它只需再次下载)。有没有解决的办法?

I am running on Windows 8.1.

我在 Windows 8.1 上运行。

采纳答案by Alexis Cramatte

I am also trying to run in Explorer (version 11) and it requires me to download the GWT Developer plugin for Firefox.

我还尝试在资源管理器(版本 11)中运行,它要求我下载适用于 Firefox 的 GWT 开发人员插件。

To avoid that, open IE11 dev tools and under the "Emulation" menu change the "Document mode" from "Edge" to "10". The page should refresh and from there you should be able to install the GWT plugin for IE.

为避免这种情况,打开 IE11 开发工具并在“仿真”菜单下将“文档模式”从“边缘”更改为“10”。该页面应该刷新,然后您应该能够为 IE 安装 GWT 插件。

enter image description here

在此处输入图片说明

Once it's installed you can fall back to the "Edge" document mode.

安装后,您可以退回到“边缘”文档模式。

Worked for me.

为我工作。

But as @apanizo said, I'd use the Super Dev Mode if possible. The dev mode is already not supported anymore in the latest firefox and it is going to be the same for the upcoming Chrome 35. No clue about IE though.

但正如@apanizo 所说,如果可能,我会使用超级开发模式。最新版本的 Firefox 已经不再支持开发模式,即将推出的 Chrome 35 也将如此。不过对 IE 一无所知。

回答by Braj

Enable the GWT Developer Plugin in Chrome.

在 Chrome 中启用 GWT 开发人员插件。

Check for other plugin that is installed on Chrome.

检查 Chrome 上安装的其他插件。

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

Click on plugins for other systemsto get more GWT Developer plugins.

单击plugins for other systems以获取更多 GWT 开发人员插件。

Here is the URL for GWT missing-plugin.

这是GWT missing-plugin的 URL 。

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

Click on required GWT plugin and simply click on savebutton as shown below for IE9.

单击所需的 GWT 插件,然后单击saveIE9 的按钮,如下所示。

enter image description here

在此处输入图片说明

回答by apanizo

This might be useful for you:

这可能对您有用:

  1. Create shortcut Chrome to desktop.
  2. Right click to shortcut and choose properties.
  3. Click to Compatibility tab
  4. Inside Compatibility mode check "Run this compatibility mode for:" and choose Window 7.
  5. Apply and Ok.
  1. 创建桌面快捷方式 Chrome。
  2. 右键单击快捷方式并选择属性。
  3. 单击兼容性选项卡
  4. 在兼容模式中勾选“运行此兼容模式:”并选择 Window 7。
  5. 申请并确定。

Source: https://code.google.com/p/google-web-toolkit/issues/detail?id=7778

来源:https: //code.google.com/p/google-web-toolkit/issues/detail?id=7778

回答by Zied Hamdi

If you want to think Agile, here's what I adopted as a solution:

如果您想考虑敏捷,以下是我采用的解决方案:

superDevMode is not practical, it takes forever to compile each time on my i7 with 8Gb of memory.

superDevMode 不实用,每次在我的 i7 上用 8Gb 内存编译都需要很长时间。

The solution I adopted is that I'm using FF for developement and I validate everything is fine only after GWT compiling on chrome (once in a while for the pauses).

我采用的解决方案是我使用 FF 进行开发,并且只有在 GWT 在 chrome 上编译后(偶尔暂停),我才验证一切正常。

Seriously I didn't see the point of having dev mode working on all browsers. In addition it runs curiously faster on FF than on Chrome (under windows). For Ubuntu (actually) I had to downgrade my FF to the version 24 to have it work (but since it's only a dev machine it doesn't bother me)

说真的,我没有看到让开发模式在所有浏览器上工作的意义。此外,它在 FF 上的运行速度比在 Chrome 上(在 Windows 下)要快得多。对于 Ubuntu(实际上),我不得不将我的 FF 降级到 24 版才能让它工作(但由于它只是一台开发机器,它不会打扰我)

p.s: superDevMode might compile faster if optimized, hoestly I didn't try it: increasing the localWorkers could reduce compile time and make superDevMode a good solution, but I can't tell you; I didn't try that: http://mojo.codehaus.org/gwt-maven-plugin/compile-mojo.html#localWorkers

ps:如果优化superDevMode可能编译得更快,老实说我没有尝试过:增加localWorkers可以减少编译时间并使superDevMode成为一个很好的解决方案,但我不能告诉你;我没有试过:http: //mojo.codehaus.org/gwt-maven-plugin/compile-mojo.html#localWorkers