Hi

I had a similar problem a few days ago. It was down to an entry in my web.xml 
file. Perhaps if you post your xml <servlet-mapping> entry, someone may be able 
to help you with it. I do not see why it should make a difference, I know it 
does not in standard browsers, but should there be an extra forward slash in 
"/notamsearchpreference//searchService" ? I am a novice and may be getting it 
all wrong. Sorry if I am.

Paul


----- Original Message ----
From: Linda <[email protected]>
To: Google Web Toolkit <[email protected]>
Sent: Thursday, 11 June, 2009 17:10:26
Subject: 404 error: gwt server can not be found


I upgraded my project from gwt-1.5 to gwt-1.6 and updated my web.xml
file. Now I am running a "Error 404" problem after I get a warning :
"No file found for: /notamsearchpreference//searchService". I checked
my WEB-INF/class/myClient folder, the searchService.class was there.

here is the sample code how do I create the server:

public static SearchServiceAsync searchService = (SearchServiceAsync)
GWT
        .create(SearchService.class);
    static
    {
        ServiceDefTarget endpoint = (ServiceDefTarget) searchService;
        String moduleRelativeURL = GWT.getModuleBaseURL()
            + "/searchService";
        endpoint.setServiceEntryPoint(moduleRelativeURL);
    }

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