remote:fedora 15 with jdk+tomcat (vmware) local:win7 with jdk+tomcat(my notebook)
Several days before,I create a default GWT project using Eclipse google plugin and deploy it to "remote" successfully,it works fine!And now I create a new one on the same way.IE gave me a http 404,page not found infos as a return.I'm sure I do nothing to the project file except creating it.And the former still works fine,the latter doesn't work yet.The only difference between them is the dir which contain the war files. I try solving it by many ways.Here are some useful result: I can almost confirm the block bellow(in web.xml) cause the problem
<servlet>
<servlet-name>greetServlet</servlet-name>
<servlet-class>com.test.gwt.server.GreetingServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>greetServlet</servlet-name>
<url-pattern>gwtref/greet</url-pattern>
</servlet-mapping>
when I change servlet-class content to anything (even wrong),the http 404 error would disapear.I can get the right page,as you can imagin,rpc doesn't work for servlet-class'content being changed! I don't know how it happens,I do nothing except time going by! I also deploy the latter to tomcat installed on my notebook.It works fine!God!What a amazing problem!I'm a newer to web application development with java.Can someone help me out?