For this configuration your sources must be in "client" subpackage

Please read
http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html

Does Product there?

On 3 February 2010 14:44, Tan Jia Bao <[email protected]> wrote:

> Hmm, I checked it and this is all that I have inside
>
> <?xml version="1.0" encoding="UTF-8"?>
> <module>
>     <inherits name="com.google.gwt.user.User"/>
>             <!-- Inherit GlassPanel module                       -->
>     <inherits name="com.google.gwt.widgetideas.GlassPanel"/>
>     <inherits name='com.allen_sauer.gwt.dnd.gwt-dnd'/>
>     <entry-point class="org.Syntech.client.GameMaker"/>
>  <!-- Do not define servlets here, use web.xml -->
> </module>
>
> May I know what is the code to inherit my own source class? Thanks!
>
> On Wed, Feb 3, 2010 at 3:47 PM, Prashant Hegde 
> <[email protected]>wrote:
>
>> Please check if your <source> tag in module.xml file includes the package
>> name for your Product definition. GWT compiler should be able to see your
>> definition.
>>
>> -- Prashant
>>
>>
>> On 03-02-2010 12:07, Jay wrote:
>>
>>> Hey guys, for the past few days I've been trying to fix my problems
>>> with GWT and I've pretty much gone around the forest just to get it to
>>> work even though it's not standard protocols.
>>>
>>> Right now, I have a custom class of my own called "Product", I've
>>> already implemented Serializable and for a period of time,
>>> IsSerializable.
>>>
>>> The thing now is, my entry point calls an RPC service and I want that
>>> RPC service to return an ArrayList or Array of Product to my entry
>>> point.
>>>
>>> I've written my code very carefully and it should work theotically.
>>>
>>> But I keep getting this error -->  [ERROR] Line 46: No source code is
>>> available for type org.snagit.classes.Product; did you forget to
>>> inherit a required module?
>>>
>>> I tried to inherit it in the gwt.xml file but it doesn't work, really
>>> lost now, can anyone enlighten? Thanks!
>>>
>>>
>>>
>>
>> --
>> 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]<google-web-toolkit%[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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
Regards,
Alexander

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