I had the same problem.  I took the error message's advice and ran it
in hosted mode, clicked compile/Browse, then i took the /war directory
(or with maven maybe it's in src/main/webapp for you) and copied it to
the deploy dir of jboss (tomcat).  I renamed it war.war and started
the server (put an exploded war on the server.  That seemed to do it.
Now to figure out why the codehaus maven plugin isn't producing an
artifact with GWT compiled code...

On Jul 1, 8:48 am, Markus88 <[email protected]> wrote:
> On 26 Jun., 10:38, strindberg <[email protected]> wrote:
>
>
>
> > I'm having some problems getting Gwt 1.6.4 to run on my Tomcat 5.5,
> > using the codehouse maven-gwt-plugin 1.1.
>
> > I can run my project fine in hosted mode (from Eclipse), but when I
> > build a war and deploy it (using the maven plugin), and then go to the
> > web page containing the call to my Gwt module, I get a dialog saying
> > "GWT module se.Interactive needs to be (re)compiled, please run a
> > compile or use the Compile/Browse button in hosted mode".
>
> > So obviously something goes wrong in the Maven build, but I can't see
> > anything obvious. I have loooked in the war file and can see all the
> > expected files there, including the Gwt files.
>
> > I realize this might very well be caused my some strange interaction
> > in the maven-gwt-plugin, but I thought I should ask here as well.
>
> > And does anyone have any tips on how I could go about troubleshooting
> > this? The above message doesn't really give me any chance to see
> > what's going on. I'm fairly new to Gwt, so any debugging tips you
> > might have would be welcome.
>
> I've got exactly the same Problem! Help Please...
> I'm using Smart-Gwt on a Bea Weblogic Server and Maven build
> It works fine with the hosted Mode, but when I start it with the
> explorer
> it says "GWT module UserProjekt needs to be (re)compiled, please run a
> compile or use the Compile/Browse button in hosted mode".
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to