Check that the URL in your @RemoteServiceRelativePath annotation
("ria2/calendar") matches the URL you've mapped in web.xml
("/riaca2/calendar").

/dmc

On Thu, Mar 17, 2011 at 11:28 AM, but43r <[email protected]> wrote:

> Ok. So I'm trying to create login page for my Application from this
> article http://checkappointments.com/gwt/
> All is good until I click login button.
>
> I get this error:
> Error 404 <html> <head> <meta http-equiv="Content-Type" content="text/
> html; charset=ISO-8859-1"/> <title>Error 404 NOT_FOUND</title> </head>
> <body><h2>HTTP ERROR 404</h2> <p>Problem accessing /ria2/calendar.
> Reason: <pre> NOT_FOUND</pre></p><hr /><i><small>Powered by
> Jetty://</small></i><br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/>
> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/
> > </body> </html>
>
> In my web.xml I have 1 servlet mapping
> <servlet>
>   <servlet-name>calendarServlet</servlet-name>
>    <servlet-class>com.ca2.calendar.server.CalendarServiceImpl</
> servlet-class>
>  </servlet>
>
>  <servlet-mapping>
>        <servlet-name>calendarServlet</servlet-name>
>  <url-pattern>/riaca2/calendar</url-pattern>
>
> All looks well. What could be common causes that cause this 404
> error???
> Finding GWT really nice but starting to look like it's very hard to
> find errors when 1 occurs.
> Very annoyed at this.
>
> Any help will be appreciated.
> Thanks
>
> --
> 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.
>
>


-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
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.

Reply via email to