Hi Haydar, Since version 1.6, GWT projects have a new canonical structure that includes a top-level directory named "war", where GWT expects to find your publicly-served HTML/CSS, as well as various configuration files (including the web.xml with your servlet declarations, inside a WEB-INF directory). See http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html#NewFeaturesfor a good overview of the structural changes between 1.5 and 1.6. This doc on GWT project organization may also be helpful: http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideDirectoriesPackageConventions .
Hope this helps. Keith On Wed, Dec 16, 2009 at 9:19 AM, Haydar <[email protected]> wrote: > Hi, > > I had a project in GWT 1.5 and I decided to migrate to GWT 2.0 > > In my project I had my servlet declarations in gwt.xml file. But I > think GWT 2.0 > looks for them in web.xml. > I have done what is told on gwt site about migrating and then ran my > project in devmode. > But it gives me this warning: > > "00:00:03,032 [WARN] Module declares 1 <servlet> declaration(s), but a > valid 'web.xml' was not found at 'D:\projects\myworkspace\myproject\war > \WEB-INF\web.xml' " > > When I look at that path I can't even find a WEB-INF folder. It > doesn't create it, pretends as it is created and looks for an xml file > which is not in a non-existing folder. > I couldn't understand the problem. > > I can't even see my first page in the application. Should I create a > web.xml which contains my servlet definitions? How can I do this? What > must I have done wrong? Can anyone please help me? > > Thanks in advance... > > -- > > 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.
