I've installed the GWT plugin in my Eclipse Luna. When I create a simple Web Application Project only for testing and using jre8, when running it and click on the link it shows this on browser, and if I change to jre7 it show this.
I've also found out here that "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."
Can anyone tell me how to solve this errors if it is possible or what other ways of working with GWT are? Thank you
There are two different solutions you could take :
Downgrade to an older browser like Firefox 24.8.1esr which still supports the GWT Developer Plugin.
Use the Super Devmode, which can be easily accessed in the GWT 2.7 version in Eclipse. More information about the Super Dev Mode can be found here.
DevMode works fine on the latest esr version of Firefox 24, but I use Eclipse 3.7 with jre7_25. Here you can find a solution how to install GWT plugin in Chrome manually (regarding your 1st image).
On the 2nd image I see 404 error which means that the file is not there. Make sure the war path in your Run Configuration is correct (see Arguments tab). In my case I use -war to specify a location to war directory.
P.S. This information may be useful about DevMode.
Related
I have installed the Eclipse Jetty plugin version 3.9.0 into Eclipse Mars. Unfortunately, while it shows as installed, I do not see any Jetty- related functions appearing in my IDE! It is as if the plugin is dead weight!
I have looked through Eclipse and Jetty tutorials trying to find something that tells me how to access the Jetty plugin in Eclipse. I am finding some nice Jetty tutorials, but nothing about how to access and use the actual plugin. In fact, Jetty as a container doesn't even appear in the list of Servlet containers that are available to Eclipse.
Could someone please either tell me how to use this plugin or point me to somewhere where I can learn? Thank you...
If you're talking about Eclipse Jetty Integration, all the documentation you need to use it is right there.
I have been using GWT for a while and I suddenly started having problem with debugging when I updated my google plugin for eclipse to v3.8.0
When I put breakpoint and run as debug, it does not break at all.
I also do System.out.println and it does not print out anything.
I am running this locally and it used to work when I was using previous version of google plugin for eclipse.
I am using "RUN AS , Web Application(GWT Super Dev Mode) since other modes does not work. This is new in google plugin for eclipse v3.8
I also tried for hours to get my previous google plugin for evclispe but cannot find it.
I am using Eclipse Luna 4.4, and also tried this in Eclipse 4.3 but both does not work.
Does anyone have same problem?
You are using Super Dev Mode. To debug inside Eclipse install the SDBG-plugin from here:
https://github.com/sdbg/sdbg
Or debug inside your browser (Chrome) as described here:
http://www.sencha.com/blog/getting-started-with-gwt-super-dev-mode
Your log message will be printed to the browser console.
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?
I have installed Microsoft Visual C++ 2008 SP1 Redistributable Package as suggested by one answer.
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?
I am running on Windows 8.1.
I am also trying to run in Explorer (version 11) and it requires me to download the GWT Developer plugin for Firefox.
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.
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.
Enable the GWT Developer Plugin in Chrome.
Check for other plugin that is installed on Chrome.
Click on plugins for other systems to get more GWT Developer plugins.
Here is the URL for GWT missing-plugin.
Click on required GWT plugin and simply click on save button as shown below for IE9.
This might be useful for you:
Create shortcut Chrome to desktop.
Right click to shortcut and choose properties.
Click to Compatibility tab
Inside Compatibility mode check "Run this compatibility mode for:" and choose Window 7.
Apply and Ok.
Source: https://code.google.com/p/google-web-toolkit/issues/detail?id=7778
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.
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).
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)
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
I'm trying to do this tutorial after having installed Eclipse Juno 4.2 service release 2 (Java EE distribution) und following exactly the GWT installation instructions over here.
However, I neither get the WindowBuilder entry under Preferences, nor is there a WindowBuilder entry in the new projects dialog appearing. What am I doing wrong?
I'm running Ubuntu 12.04.02 LTS on amd64, and I have tried oracle jdk 7u17 and Ubuntu's own jdk6 distribution, but to no avail...
Just tried the same in Win2k3. Exact same result. Google is starting to annoy me. GWT 2.5.1 throws an error when trying one of my simplest projects...
Update: it is working to some extent. Meaning: WindowBuilder does not recognize GWT Designer's installation and offers to install GWT Designer for Eclipse 3.7. The designer toolbar's GWT selection possibilities therefore are not there.
Update: bug filed.
Update: bug was closed as won't fix. They don't care.
They do care. GWT is a magical development environment, under constant evolution.
They have to race with new versions of browsers, Javascript and releases of Eclipse, so sometimes tiny things may not be always documented up to date. The tutorial you are trying to run is made for GWT Designer 2.3, GPE 2.3, Eclipse 3.7 & Java 1.6.
This tutorial works also perfectly well for Juno 4.2 SR2 with a few minor changes:
In step 1, just Create a Web Application Project. You can generate project sample code, make sure that things work and then clean it up and stick with the folder layout.
In step 3, just add a class and make it extend com.google.gwt.user.client.ui.Composite. Add an empty Constructor and then you can open the GWT Designer as always, in order to do the rest. The CSS styleName property has been improved. There are tool-tips to guide you.
PS: My tests were made in Ubuntu12.04-32bit, WinXP-32bit and Win7-64bit with JDK1.7.0_17-32bit and Eclipse-32bit.
In case the designer tab does't show up by default, I noticed that I can get it by right-clicking the .java on the package explorer and selecting 'open with ...' 'WindowBuilder Editor'.
I have just downloaded the Newest Google Chrome to test my gwt app... And, of course, in first gwt app running chrome demanded GWT plugin to be installed. So I did... All great but when gwt test app starts it doesn't work as in eclipse Design - Preview or IE8 etc. Instead of panels activation chrome shows me just a blank right frame :( Moreover, since then my FF 5.0 GWT dev plugin started do the same (blank) tricks as if it was replaced with the chrome one :( I think chrome caused all these things... I have already uninstalled chrome but my FF still tricks me with (blank) things... So my question is...
How to uninstall the Chrome GWT plugin totally to be able reinstall all from up to down and not to have GWT dev plugins conflict or something which maybe causes the headache?
My GWT version is 2.3
OS: Windows XP Pro SP3
IE8, FF 5.0.1 (Currently installed Internet Browsers)
All useful comments are appreciated
Might be far fetched, but have you checked that you're compiling against the correct user-agents in the module definition?
EDIT:
The module is the file ending with .gwt.xml and in that file you can specify which user agents to compile javascript for. In my module i'm having this line:
<set-property name="user.agent" value="ie6,ie8,gecko1_8,safari" />
It is quite strange but I have found that the Chrome GWT Dev plugin doesn't support two included SplitLayoutPanels :(
I mean the bound like a...
SplitLayoutPanel A which contains SplitLayoutPanel B
IE 7 supports this kind of code but Chrome and even FF don't :(
That caused the development problem. So I replaced the second SplitLayoutPanel B to HorizontalSplitPanel and finally that solved the problem :)
I hope that can save one's day :)