Hi, I am getting the same warning. Anybody has an suggestions what might be wrong?
On May 11, 6:29 pm, Thad <[email protected]> wrote: > In attempting to move a widget from 1.5 to 1.6. I'm having problems > with the servlet path. > > I have a module, ViewerWidget. In order to test this independently of > other modules, I have Viewer, which inherits ViewerWidget andhasits > own entry point. Under 1.5 I could run Viewer just fine. I could JAR > up the module, and another module could inherit ViewerWidget without > worry over the Viewer entry point. The servlet tags in to > ViewerWidget's servlets in would be added to inheriting modulesweb.xml, for > example > > <servlet> > <servlet-name>LiloServices</servlet-name> > <servlet-class>com.optix.web.viewer.server.LiloServicesImpl</servlet- > class> > </servlet> > <servlet-mapping> > <servlet-name>LiloServices</servlet-name> > <url-pattern>/servlet/liloServices</url-pattern> > </servlet-mapping> > > However 1.6 does not like this naming. When I try to run Viewer, in > hosted mode, I see errors like > > [WARN] Module declares a servlet class > 'com.optix.web.viewer.server.LiloServicesImpl' with amappingto '/ > com.optix.web.viewer.Viewer/servlet/liloServices', but > theweb.xmlhasnocorrespondingmapping; please add the following lines to > yourweb.xml: > <servlet-mapping> > <servlet-name>LiloServices</servlet-name> > <url-pattern>servlet/liloServices</url-pattern> > </servlet-mapping> > > What gives? Adding the full class path does not help. Now an error > comes back > > [WARN] 404 - POST /com.optix.web.viewer.Viewer//servlet/liloServices > (127.0.0.1) 1435 bytes > > How should a modules RPC servlets be defined so they can be seen when > inherited? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
