On 27 août, 22:24, nishil <[EMAIL PROTECTED]> wrote:
> I upgraded to GWT1.5
> when i tried testing a single module in hosted mode i could see the
> GUI but i am getting following error
> [TRACE] Loading module 'gwt'
> [ERROR] Unable to find 'gwt.gwt.xml' on your classpath; could be a
> typo, or maybe you forgot to include a classpath entry for source?

Hosted mode is made such that any call to 
http://localhost:8888/<module>/<something/else>
will try to load the module <module>; in your case, you must have
tried loading http://locahost:8888/gwt/<something>


>         <servlet path="/gwt/RateBillCalculatorService"
> class="com.peace.energy.billing.ratebillcalculator.server.RateBillCalculatorServiceImpl"/

This must be the offending line; or actually how you try to call this
servlet from your client code. AFAIK the path is somehow "relative" to
the module root, so you probably misused the setServiceEntryPoint()
method.
See 
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=GettingStartedRPC
(which doesn't mention setServiceEntryPoint !?) and
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideImplementingServices
--~--~---------~--~----~------------~-------~--~----~
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