This error message usually means that you have imported a non emulated
class in your client package.
Make sure that you are only using RemoteServiceServlet (and extentions
thereof) in the server sub package.
Client side you should use RemoteService.



On 6 Dec, 23:29, Joseph <[email protected]> wrote:
> Hi,
>
> I'm extending the RemoteServiceServlet for server communications for
> my GWT application (a port of an school assignment to get acclimated
> with the API), but I get the following error from the GWT compiler:
>
> [ERROR] Line 11: No source code is available for type
> com.google.gwt.user.server.rpc.RemoteServiceServlet; did you forget to
> inherit a required module?
>
> Here is my Module definition:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.1//
> EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.1/distro-
> source/core/src/gwt-module.dtd">
> <module rename-to='TicTacToe'>
>
>         <!-- Inherit the core Web Toolkit stuff.                        -->
>         <inherits name='com.google.gwt.user.User' />
>
>         <!-- Inherit the default GWT style sheet.  You can change       -->
>         <!-- the theme of your GWT application by uncommenting          -->
>         <!-- any one of the following lines.                            -->
>         <inherits name='com.google.gwt.user.theme.standard.Standard' />
>         <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
>         <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/>     -->
>
>         <!-- Other module inherits                                      -->
>         <inherits name="com.clayton.utilities"/>
>
>         <source path="gwt"></source>
>         <source path="core"></source>
>
>         <!-- Specify the app entry point class.                         -->
>         <entry-point class='com.clayton.tictactoe.gwt.client.GameEntry' />
>
> </module>
>
> I don't have to inherit more modules then the com.google.gwt.user.User
> do I?
>
> I'm sorry if this isn't the place to ask this but I've been searching
> for awhile and haven't been able to find anyone else with the same
> issue.
>
> Thanks,
> Joseph

--

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