Javascript 开发模式需要 GWT Developer Plugin
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/29743214/
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
Development Mode requires the GWT Developer Plugin
提问by Thuy Nguyen
My project using GWT. I haved installed GWT plugin for my Chrome Browser before . I am using the newest version of chrome .When run the project, Chrome browser alway announce
我的项目使用 GWT。我之前为我的 Chrome 浏览器安装了 GWT 插件。我正在使用最新版本的 chrome 。运行项目时,Chrome 浏览器总是宣布
Development Mode requires the GWT Developer Plugin
开发模式需要 GWT Developer Plugin
I have attached the image bellow
我附上了下面的图片


But when I click to the link. Chrome browser go to page of plugin in the Chrome web Store. But it announce me that my chrome browser haved installed this plugin. I have attached the screenshot bellow

但是当我点击链接时。Chrome 浏览器转到 Chrome 网上应用店中的插件页面。但是它告诉我我的 chrome 浏览器已经安装了这个插件。我附上了下面的截图

How can I make GWT plugin work with my project ? Thank for any help
如何让 GWT 插件与我的项目一起工作?感谢任何帮助
采纳答案by mohammed sameen
From GWT Website ,http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_1
来自 GWT 网站,http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_1
- GWT Development Mode will no longer be available for Chrome sometime in 2014, so we improved alternate ways of debugging. There are improvements to Super Dev Mode, asserts, console logging, and error messages.
- GWT 开发模式在 2014 年的某个时候将不再适用于 Chrome,因此我们改进了其他调试方式。对超级开发模式、断言、控制台日志记录和错误消息进行了改进。
This is because of newer chrome version.Use Super Dev Mode
这是因为较新的 chrome 版本。使用超级开发模式
Other Solution is you can enable NPAPI which was disable in chrome 42 version follow the below steps
其他解决方案是您可以启用在 chrome 42 版本中禁用的 NPAPI,请按照以下步骤操作
1.Open New Tab and Enter chrome://flags/#enable-npapi
1.打开新标签并输入 chrome://flags/#enable-npapi
2.Enable this Enable NPAPI Mac, Windows
2.启用这个 Enable NPAPI Mac, Windows
3.Then bottom of the page click "Relunch" button.
3.然后点击页面底部的“Relunch”按钮。
回答by tuxlinux
I had the same issue this morning.
今天早上我遇到了同样的问题。
Switching to super dev mode:
切换到超级开发模式:
select your project in the Project Explorer -> Debug as -> Web Application(Super Dev Mode)
在 Project Explorer 中选择您的项目 -> Debug as -> Web Application(Super Dev Mode)
Console will say: The code server is ready. Next, visit: http://127.0.0.1:9876/
控制台会说:代码服务器准备好了。接下来访问:http: //127.0.0.1: 9876/
Do so and follow instructions there.
这样做并按照那里的说明进行操作。
回答by Thomas Broyer
Quick recap: Firefox nuked APIs that DevMode needed in 27.0, more than a year ago; Chrome announced approximately at the same time that they were deprecating NPAPI, that DevMode needs. They first made it impossible to update extensions containing NPAPI plugins in the Chrome Web Store a year ago, then they removed NPAPI support on Linux, and now they've just disabled NPAPI in Chrome 42, and will remove support entirely in 45, to be released in September.
快速回顾:一年多以前,Firefox 在 27.0 中取消了 DevMode 所需的 API;Chrome 几乎在同一时间宣布他们将弃用 DevMode 需要的 NPAPI。一年前,他们首先让 Chrome Web Store 中包含 NPAPI 插件的扩展无法更新,然后他们在 Linux 上删除了 NPAPI 支持,现在他们刚刚在 Chrome 42 中禁用了 NPAPI,并将在 45 中完全删除支持9 月发布。
"Classic" DevMode is deprecated for nearly 1? year now; it really is time to move to SuperDevMode!
“经典”DevMode 已弃用近 1 次?现在一年;是时候转向 SuperDevMode 了!
回答by Dwight NetZango
It's very likely that you are following word for word the instructions from Google at this link.
您很可能在此链接上逐字逐句地遵循 Google 的说明。
https://developers.google.com/eclipse/docs/getting_started
https://developers.google.com/eclipse/docs/getting_started
The instructions are out of date, and not valid for current versions of chrome.
这些说明已过时,对当前版本的 chrome 无效。
Instead of selecting the option
而不是选择选项
Debug As > Web Application
调试为 > Web 应用程序
use the option
使用选项
Debug As > Web Application (GWT Super Dev Mode)
调试为 > Web 应用程序(GWT 超级开发模式)
Google has "given up" on keeping their documentation up to date. I can only imagine how difficult it must be to ignore so many complaints.
谷歌已经“放弃”保持他们的文档是最新的。我只能想象忽略这么多抱怨是多么困难。
回答by Aman Tugnawat
This issue is there, as Google has now completely discarded NPAPI which is required by GWT developer pluginwhich can been seen here:http://blog.chromium.org/2013/09/saying-goodbye-to-our-old-friend-npapi.html
这个问题就在那里,因为谷歌现在已经完全放弃了 GWT 开发者插件所需的 NPAPI,可以在这里看到:http: //blog.chromium.org/2013/09/saying-goodbye-to-our-old-friend -npapi.html
Google now provides "Super Dev Mode" which does not require NPAPI.
Google 现在提供不需要 NPAPI 的“超级开发模式”。
For utilizing that you can check this blog: https://www.sencha.com/blog/getting-started-with-gwt-super-dev-mode/
要使用它,您可以查看此博客:https: //www.sencha.com/blog/getting-started-with-gwt-super-dev-mode/
回答by Randy
Firefox Portable 26.0supports the GWT Developer Plugin needed to work with Classic Dev Mode. You can install that along side an up-to-date browser.
Firefox Portable 26.0支持使用 Classic Dev Mode 所需的 GWT Developer Plugin。您可以将其安装在最新的浏览器旁边。
For some reason, Super Dev Mode still does not work with some projects. This workaround has worked best for our team.
出于某种原因,超级开发模式仍然不适用于某些项目。此解决方法对我们的团队最有效。
回答by dagge
回答by davtom
NPAPI can be re-enabled in Chrome but it is going away.
NPAPI 可以在 Chrome 中重新启用,但它正在消失。
Super dev mode supposed to be the way forward but I prefer the classic dev mode.
超级开发模式应该是前进的方向,但我更喜欢经典的开发模式。
I'm using Windows. I installed a version of Chromium to stop this being a problem for me. The version I found to be the last of the 41 series was build 310958 which can be obtained here:
我正在使用 Windows。我安装了一个 Chromium 版本来阻止这对我来说是个问题。我发现 41 系列的最后一个版本是 build 310958,可以在这里获得:
https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win/310958/
https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win/310958/
You need to download the mini_installer.exe file. This version of Chromium will never update itself.
您需要下载 mini_installer.exe 文件。此版本的 Chromium 永远不会自行更新。
I recommend also that you make a copy of the GWT Developer Plugin that you can install without using Google's store because I believe it will be removed soon. I don't know how to do that, but one member of my team claims to have done it.
我还建议您制作 GWT Developer Plugin 的副本,您可以在不使用 Google 商店的情况下安装它,因为我相信它很快就会被删除。我不知道该怎么做,但我团队的一名成员声称已经做到了。
回答by mohammed sameen
From GWT Website ,http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_1
来自 GWT 网站,http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_1
- GWT Development Mode will no longer be available for Chrome sometime in 2014, so we improved alternate ways of debugging. There are improvements to Super Dev Mode, asserts, console logging, and error messages.
- GWT 开发模式在 2014 年的某个时候将不再适用于 Chrome,因此我们改进了其他调试方式。对超级开发模式、断言、控制台日志记录和错误消息进行了改进。
This is because of newer chrome version.Use Super Dev Mode
这是因为较新的 chrome 版本。使用超级开发模式
回答by user3523268
I did the same thing as suggested by davtom and it worked. I download the chrome-win32.zip file from https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win/310958/. I unzipped the files in a temp folder and run chrome.exe from there.
我按照 davtom 的建议做了同样的事情,并且奏效了。我从https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win/310958/下载了 chrome-win32.zip 文件。我将文件解压缩到临时文件夹中并从那里运行 chrome.exe。
Thanks Davtom. This problem was driving me nuts for the past 3 hours. I rebooted, installed a different JDK, uninstalled and reinstalled the plugin but nothing worked.
谢谢达托姆。这个问题在过去的 3 个小时里让我发疯。我重新启动,安装了不同的 JDK,卸载并重新安装了插件,但没有任何效果。

