Thursday, June 28, 2012

Re: Google Eclipse Plugin deletes gwt-servlet.jar when running?

Hi, I am running into similar issue. What helped you in the end?
I use m2eclipse+gwt+gae.
When I do "maven clean install" it creates my output directory and running "mvn gwt:run" is OK.
When I go into Eclipse and run project as Google Web Application, plugin deletes WEB-INF/lib directory from the output, and then it fails because it can't find classes from gwt-servlet.jar

I just updated GPE (latest the greatest) and let's me choose any directory as hosted dir for GWT.

Thanks ahead!

On Monday, May 30, 2011 4:01:21 PM UTC+2, Philippe Beaudoin wrote:
We recently added a maven dependency to gwt-servlet and cleaned-up the POM somewhat (thanks to Yannis Gonianakis) which made it possible to run "as web application" simple projects that do not have a server-side component.

For my projects with a GAE component, the "Launch and Deploy from this Directory" was unchecked. I tried checking it but keep on getting the following error:
  [WARN] Error starting handlers
  java.lang.NoClassDefFoundError: com/google/inject/servlet/GuiceServletContextListener

Thanks a lot for taking the time to look into this Rajeev, much appreciated.

   Philippe

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/umoXo5BuVz4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment