Thanks.
I did have the problems listed in the warning you described, but quick
fixing them (which did remove them as warnings) didnt fix the problem.

My module file is currently;

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.1//
EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.1/distro-
source/core/src/gwt-module.dtd">
<module rename-to='lostagainwebsite'>
  <inherits name='com.google.gwt.user.User'/>

  <inherits name='com.google.gwt.user.theme.standard.Standard'/>
<inherits name='com.google.gwt.widgetideas.GWTCanvas'/>

     <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
<set-property name="log_DivLogger" value="DISABLED" />
<set-property name="log_FirebugLogger" value="ENABLED" />

  <!-- Specify the app entry point class.                         -->
  <entry-point
class='com.lostagain.companywebsite.client.Lostagainwebsite'/>
</module>

I tried commenting out the log inherits, but that didn't make a
difference either.


I think I might have found the problem though, weird though it is; no
changes to my web.xml file seem to be having an effect.
Its in WAR/web-inf, I change the "default page to serve", save it, but
the page dosnt change. At least, not in development mode. Any ideas?
If somehow that changes isnt being made, and its somehow getting the
information elsewhere, its probably also a case whatever its using for
the web.xml  also hasnt got the servelet info.

00000000000000
On Dec 10, 9:20 pm, Rajeev Dayal <rda...@google.com> wrote:
> Ok, since you're running in WAR mode, you should get rid of the <servlet>
> tags in your module files, in favor of having <servlet> tags in your web.xml
> file. Have you done that?
>
> Also, copy gwt-log-3.0.0.jar to your war/WEB-INF/lib directory. You should
> actually see a WARNING in your Problems view indicating that you have
> libraries on your build path which are not on your server's runtime
> classpath. If you select the warning and hit CTRL-1, you'll be presented
> with a quick-fix that will copy the jar over for you.
>
>
>
> On Thu, Dec 10, 2009 at 12:39 PM, darkflame <darkfl...@gmail.com> wrote:
> > sure;
>
> > Project -
>
> > <?xml version="1.0" encoding="UTF-8"?>
> > <projectDescription>
> >        <name>lostagainwebsite</name>
> >        <comment></comment>
> >        <projects>
> >        </projects>
> >        <buildSpec>
> >                <buildCommand>
> >                        <name>org.eclipse.jdt.core.javabuilder</name>
> >                        <arguments>
> >                        </arguments>
> >                </buildCommand>
> >                <buildCommand>
>
> >  <name>com.google.gwt.eclipse.core.gwtProjectValidator</name>
> >                        <arguments>
> >                        </arguments>
> >                </buildCommand>
> >                <buildCommand>
>
> >  <name>com.google.gdt.eclipse.core.webAppProjectValidator</name>
> >                        <arguments>
> >                        </arguments>
> >                </buildCommand>
> >        </buildSpec>
> >        <natures>
> >                <nature>org.eclipse.jdt.core.javanature</nature>
> >                <nature>com.google.gwt.eclipse.core.gwtNature</nature>
> >                <nature>com.google.gdt.eclipse.core.webAppNature</nature>
> >        </natures>
> > </projectDescription>
>
> > Classpath;
>
> > <?xml version="1.0" encoding="UTF-8"?>
> > <classpath>
> >        <classpathentry kind="src" path="src"/>
> >        <classpathentry kind="con"
> > path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> >        <classpathentry kind="lib" path="D:/TomsProjects/Google GWT/gwt-
> > incubator-july-14-2009.jar"/>
> >        <classpathentry kind="con"
> > path="com.google.gwt.eclipse.core.GWT_CONTAINER/GWT"/>
> >        <classpathentry kind="lib" path="D:/TomsProjects/Google GWT/gwt-
> > log-3.0.0.jar"/>
> >        <classpathentry kind="output" path="war/WEB-INF/classes"/>
> > </classpath>
>
> > The project does seem to compile ok, btw. Despite the error.
>
> > On Dec 10, 5:06 pm, Rajeev Dayal <rda...@google.com> wrote:
> > > Hey,
>
> > > Do you mind pasting the contents of your .project and .classpath files? I
> > > want to verify that the DevMode class is actually what's being run when
> > you
> > > launch your app.
>
> > > Rajeev
>
> > > On Wed, Dec 9, 2009 at 2:50 PM, 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%2bunsubs­cr...@googlegroups.com>
> > <google-web-toolkit%2bunsubs­cr...@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<google-web-toolkit%2bunsubs­cr...@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.


Reply via email to