对不起我的英语我有一个 GWT 项目。我不会在客户端使用服务器类。
我有返回对象“Route”的 RPC 服务
@RemoteServiceRelativePath("springGwtServices/RouteService")
public interface IRouteService extends RemoteService {
public ArrayList<Route> searchRoutes(String from, String to);
}
Run Code Online (Sandbox Code Playgroud)
但我不能在客户端使用这个类。当我尝试导入它时,出现异常“路由无法解析为类型” 我可以在服务器上使用此类吗?如果我不能,我必须做什么?ps 我将所有需要的类放入共享文件夹并得到异常
No source code is available for type project.shared.Route; did you forget to inherit a required module
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4849 次 |
| 最近记录: |