maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hilco Wijbenga <>
Subject Re: web application problem
Date Thu, 01 Sep 2011 17:34:04 GMT
On 1 September 2011 05:19, Luka Stopar <> wrote:
> Greetings!
> I'm having a problem using gwt-maven-plugin. The project compiles fine, but
> I cannot run it as a web application, I can only run it by doing run
> as->maven build...->gwt:run, in which case I cannot debug the code.

What do you mean by "cannot run as a web app"? If mvn gwt:run works
then it runs as a web app? Or do you mean you want to run the war?
Then you'll have to run "mvn compile gwt:compile package" (to just get
a WAR) or maybe "mvn compile gwt:compile jetty:run-war".

You can easily debug using mvn gwt:debug (just attach Eclipse using
Remote Java Application). This is much easier then using a Launcher
(i.e. I've never been able to get Launchers [for GWT] to work

> I've attached my pom.xml, it may not look best, because I already did some
> trial and error.

This is what I use:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message