Using rename-to with RPC services

I'm using the rename-to attribute in the GWT module configuration. When defining the service in the web.xml file I've written the following:

<code>
<servlet>
    <servlet-name>MyService</servlet-name>
    <servlet-class>foo.bar.MyServiceImpl</servlet-class>
</servlet>

.....
<servlet-mapping>
    <servlet-name>MyService</servlet-name>
    <url-pattern>/MyRenameTo/MyService</url-pattern>
</servlet-mapping>

</code>

IDEA complains about the URL specified in the web.xml. Seems like the web.xml configuration doesn't like the rename-to configuration. Ignoring this error and running the application works without any problems. Is this a known issue or should I register a bug. I see a related issue.

0

Please sign in to leave a comment.