Did you do a GWT compile? Your war directory should contain a bunch (depending on the # of permutations) of *.cache.html files, which are the actual GWT app compiled to JavaScript.
See here: http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideJavaToJavaScriptCompilerfor more info. kathrin On Sun, May 16, 2010 at 2:08 PM, scheiner <[email protected]> wrote: > Hi all, > > I am a GWT-newbie and I have encountered the following problem: > > I am using intelliJ for development. when I run the application from > intelliJ (using the JETTY-based GWT development mode) everything is > fine. > > I tried to move my application to my TomCat server and when I tried to > open the URL (without development mode) I got the 'The GWT module may > need to be (re)compiled' message. > When I add the "gwt.codesvr=127.0.0.1:9997", everything works. > > This is how the tomcat webapps\Graph directory looks: > > 1. I took the compiled classes from the 'IntelliJIdea90\system\gwt > \server.server55fdbcb4\GWTGraph.39caa101\run\www' and put it under > 'classes' directory (ordered in the 'public', 'server', 'client' sub- > directories) > > 2. The 'web-inf' directory contains the proper web.xml file > > 3. The 'lib' directory contains the gwt jars > > 4.The root directory of the application (webapps\Graph) contain these > files > > * rpc file > * clear.cache.gif > *Graph.css > *Graph.html > *Graph.nocache.js > *hosted.html > > Is there something I miss? I read some posts about the problem and I > recompiled all the classes once again but it didn't fix the problem. > > Any ideas? > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.
