oogie
unread,Mar 17, 2012, 1:41:07 PM3/17/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
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.