cd gwt-2.8.1
chmod u+x webAppCreator
./webAppCreator -out MyWebApp com.mycompany.mywebapp.MyWebApp
gwt-2.8.1".
4. Now, this step is important for me, and it is what you are facing.
The tutorial would ask you to do this, which would work as well.
cd MyWebApp/ ant devmode
But this command below, would make thing perfect just for you :)
cd MyWebApp/
ant eclipse.generate
5. Now, you may import your new project to Eclipse. I think it is File > Import > Import Existing Project to Workspace.
6. From the link here https://stackoverflow.com/questions/10316003/how-to-make-war-file-of-gwt-project-in-eclipse.
It was this section that helps me.
The best approach is to use the command
Export > Export ... > Web > War file
You will have this command on the context menu (right mouse button on the project folder) if you installed the Java tools for Web Applications. Otherwise that should you first step.
It may be the case that your GWT project doesn't show on the selector of the Web Project field, the first on on the dialogue box when you execute the command above. If this is the case you must make sure you have the Dynamic Web Module facet on you project. Select the project root project navigator and then execute
Properties > Project Facets
and check Dynamic Web Module on the right panel if it not already checked.
You should make sure that the WAR directory used by GWT is the same used by the dynamic web module. If you are not sure what is your WAR directory (probably it's the one named "war") you can go to
Properties > Google > Web Application
....