Hi,
when i try to run my app i get the following error:
Line 6: No source code is available for type CBWSNS.Workspace; did you
forget to inherit a required module?
for GetWorkspacesService.java


Here short excerpts of the involved files:
GetWorkspacesService.java

package com.example.client.workspaces;

import com.google.gwt.user.client.rpc.RemoteService;

public interface GetWorkspacesService extends RemoteService {
        CBWSNS.Workspace[] getWorkspaces();                   <<<< here
}


and Workspace.java

package CBWSNS;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Workspace  implements IsSerializable {

    private java.lang.String name;
    private java.lang.String id;

    public Workspace() {
    }

    public Workspace(
           java.lang.String name,
           java.lang.String id) {
           this.name = name;
           this.id = id;
    }
+ getters and setters for name and id


Does the custom datatype have to be in the same package as the
service? Or what is the problem?

Thanks in Advance
George

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