Please be sure that you import gwt-user.jar to your buildpath.Good luck to
you.

2012/3/18 Thomas Broyer <[email protected]>

> There's nothing to fix in that code. You're probably missing something in
> your setup (classpath, *.gwt.xml, I don't know)
>
>
> On Saturday, March 17, 2012 6:41:07 PM UTC+1, oogie wrote:
>>
>> I am going through the GWT Tutorials, specifically the "Making Remote
>> Procedure Calls" tutorial, and I have created an interface with the
>> following provided code:
>>
>> package com.google.gwt.sample.**stockwatcher.client;
>>
>> import com.google.gwt.user.client.**rpc.RemoteService;
>> import com.google.gwt.user.client.**rpc.RemoteServiceRelativePath;
>>
>> @RemoteServiceRelativePath("**stockPrices")
>> public interface StockPriceService extends RemoteService {
>>
>>   StockPrice[] getPrices(String[] symbols);
>> }
>>
>> I am getting the following errors:
>> The import com.google.gwt.user cannot be resolved
>> RemoteServiceRelativePath cannot be resolved to a type
>> RemoteService cannot be resolved to a type
>>
>> I am using GWT 2.4.0, which I understand does not align with the
>> tutorial, but unfortunately I cannot think of how I should update the
>> provided code in the tutorial to 2.4.  How can I fix the above code to
>> eliminate these errors?  Thanks in advance for any help.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/8lk5YjHGaokJ.
>
> 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.
>

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