On 12/10/09, darkflame <darkfl...@gmail.com> wrote: > > Upgrading to 2.0, and I started getting problems with my web.xml file. > Specifically its complaining of some wrong set up with my log class in > use (which is ; http://code.google.com/p/gwt-log/downloads/list). > > The complaint was; > > [WARN] Server class > 'com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl' could not be > found in the web app, but was found on the system classpath > [WARN] Adding classpath entry 'file:/D:/TomsProjects/Google%20GWT/ > gwt-log-3.0.0.jar' to the web app classpath for this session > For additional info see: file:/D:/eclipse/plugins/ > com.google.gwt.eclipse.sdkbundle.2.0.0_2.0.0.v200912062003/gwt-2.0.0/ > doc/helpInfo/webAppClassPath.html > Loading modules > com.lostagain.companywebsite.Lostagainwebsite > Validating <servlet> tags for module 'lostagainwebsite' > For additional info see: file:/D:/eclipse/plugins/ > com.google.gwt.eclipse.sdkbundle.2.0.0_2.0.0.v200912062003/gwt-2.0.0/ > doc/helpInfo/servletMappings.html > [WARN] Module declares a servlet class > 'com.google.gwt.libideas.logging.server.RemoteLoggingServiceImpl', but > the web.xml has no corresponding declaration; please add the following > lines to your web.xml: > <servlet> > <servlet-name>remoteLoggingServiceImpl</servlet-name> > <servlet- > class>com.google.gwt.libideas.logging.server.RemoteLoggingServiceImpl</ > servlet-class> > </servlet> > <servlet-mapping> > <servlet-name>remoteLoggingServiceImpl</servlet-name> > <url-pattern>/lostagainwebsite/logging</url-pattern> > </servlet-mapping> > > > --- > > Now I did try adding this to my web.xml file; > > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > <web-app> > <!-- Servlets --> > <servlet> > <servlet-name>greetServlet</servlet-name> > <servlet- > class>com.lostagain.companywebsite.server.GreetingServiceImpl</servlet- > class> > </servlet> > <servlet-mapping> > <servlet-name>greetServlet</servlet-name> > <url-pattern>/lostagainwebsite/greet</url-pattern> > </servlet-mapping> > <servlet> > <servlet-name>remoteLoggerServiceImpl</servlet-name> > <servlet- > class>com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl</servlet- > class> > </servlet> > <servlet-mapping> > <servlet-name>remoteLoggerServiceImpl</servlet-name> > <url-pattern>/lostagainwebsite/gwt-log</url-pattern> > </servlet-mapping> > <!-- Default page to serve --> > <welcome-file-list> > <welcome-file>Lostagainwebsite.html</welcome-file> > </welcome-file-list> > </web-app> > > > ...and got the same error. > > I also tried with; > > <!-- Servlets --> > <servlet> > <servlet-name>greetServlet</servlet-name> > <servlet- > class>com.lostagain.companywebsite.server.GreetingServiceImpl</servlet- > class> > <servlet-name>remoteLoggerServiceImpl</servlet-name> > <servlet- > class>com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl</servlet- > class> > </servlet> > <servlet-mapping> > <servlet-name>greetServlet</servlet-name> > <url-pattern>/lostagainwebsite/greet</url-pattern> > <servlet-name>remoteLoggerServiceImpl</servlet-name> > <url-pattern>/lostagainwebsite/gwt-log</url-pattern> > </servlet-mapping> > > > ...same error. > > Any ideas? > It was working fine in 1.7. > I'm using eclipse and have run the update. (and changed the project to > 2.0). > > -- > > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > >
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.