No URL showing in GWT 2.0 Development mode
I've had some problems starting GWT 2.0 projects in Eclipse with the build-in Jetty server. The problem was that no URL was showing in the Development Mode tab, and the project didn't seem to start properly. This problem only occures when i generate project files with the maven-eclipse-plugin. Both in Linux and Windows.
To fix the problem, add the project natures by hand to the maven-eclipse-plugin configuration. This is what my configuration looks like:
maven-eclipse-plugin com.google.gwt.eclipse.core.gwtNature com.google.gdt.eclipse.core.webAppNature com.google.gwt.eclipse.core.gwtProjectValidator com.google.gdt.eclipse.core.webAppProjectValidator org.eclipse.jdt.launching.JRE_CONTAINER com.google.gwt.eclipse.core.GWT_CONTAINER com.google.gwt:gwt-user com.google.gwt:gwt-dev
If you find something that isn't necessary please reply to this post.
7 comments:
Why are you excluding the gwt-user.jar?
That's a good question. It's always been in my configuration :) I'm guessing that when you have the gwt-nature on a project in eclipse the google plugin will configure the SDK correctly. So that setting will be ignored anyway. But I will test this tonight if I find the time. Thanks for the comment
Where do i find the maven-eclipse-plugin configuration usually? What file?
In the POM (pom.xml)
Oh, so you are not using m2eclipse plugin then? What eclipse plugin do you recommend?
Nope, I'm not using any plugin for eclipse-maven integration so I can't help you there. I run maven from command line and only for generating project files, running unit tests and packaging.
http://remind.com.br/projetos/criar-blog-gratis/replicahandbags69/
http://remind.com.br/projetos/criar-blog-gratis/ureplicawatches/
http://remind.com.br/projetos/criar-blog-gratis/ureplicawatches1987/
http://replbags.livejournal.com/
http://replcawatche.livejournal.com/
http://repldbags.livejournal.com/
http://replica69bags.insanejournal.com/
http://replicabag242.livejournal.com/
http://replicacheap.21classes.com/weblogCategory/1951uut1lrg4t
http://replicacheap.ayubd.com/
Post a Comment