I'm having a strange issue with GWT-RPC. I setup an Async
RPC handler that is working fine. But when I run my server (using ant devmode
) I get the following warning:
[WARN] Module declares a servlet class 'x.y.server.LoginServiceImpl'
with a mapping to '/login/login', but the web.xml has no corresponding mapping
To be clear, nowhere in my code am I specifying "/login/login". I want to use just /login. Why is it adding it twice? It almost looks like a GWT bug. Here is the rest of the configuration:
My web.xml servlet-mapping
looks like this:
<servlet-mapping>
<servlet-name>LoginServiceImpl</servlet-name>
<url-pattern>/login</url-pattern>
</servlet-mapping>
My module file has the following:
<servlet path="/login" class="x.y.server.LoginServiceImpl" />
So why am I getting a warning about /login/login when that is not defined anywhere? Any help is appreciated, thanks.
-tjw