Hi Salvador,
Sorry for answering so late, I didn't check this thread in a while.
The code you posted in the pastebin is expired, but here is how we
declared our GWT dependencies:
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<version>${gwtVersion}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwtVersion}</version>
<scope>provided</scope>
</dependency>
I was using the googlecode GWT-Maven plug-in (not the codehaus one),
and the issue I had was that Maven saw the javax.servlet.*.java had a
more recent timestamp than the javax.servlet.*.class, and thus thought
it was a good idea to re-compile them and add them to our war (in /WEB-
INF/classes/).
Our war's lib folder did not contain gwt-user.jar, only gwt-
server.jar, since gwt-user's dependency was provided. The conflict was
thus caused by these additional classes in WEB-INF/classes/.
The GWT team fixed my issue by having the same timestamp for the .java
and .class files in javax/servlet. It seems that the fix didn't work
for Cyril and maybe some other people (where Maven re-compiles the
source files even though their timestamp is correct), but I don't know
if it is due to differences between the googlecode and codehaus gwt
maven plugins, or if it is due to some specific maven configuration.
Hope this helps!
Have a nice day,
-eneveu