Hi thanks for the reply.  This is not repeated question sir. My
problem is I created a package web.client.db.QueryHelper.

IN that file I have written some queries which I need to get it from
the database and show in the combo box.
So what Ihave found the problem is I created QueryHelper.java and got
the results from database directly rather than using
RPC. So I got the error that "did you forget to inherit a required
module?". so that problm Now I am not getting. when I am creating some
some utilitiy classes, which I call in the front end side, I am
getting that error. How can I solve that issue?

thanks
bhanu

On Jun 21, 5:38 pm, Blessed Geek <[email protected]> wrote:
> Hey bhanu, yours is the classic repeated question.
>
> You created a new entry point by copying an existing entry point to
> another folder?
> But you did not copy the entry point's module inheritance definition,
> right?
>
> GWT works this way.
> Say you have an Entry point module, examples.fish.Salmon
> you would need a module definition file Salmon.gwt.xml
> located at
> {source dir}/examples/fish.
>
> The gwt files for module Salmon would be found under {source dir}/
> examples/fish/client.
> The files that get generated into the web deployment folder will be
> found under {source dir}/examples/fish/public.
>
> Let's say you have an entry point login.java under
> {source dir}/examples/fish/client/Login.java,
> which requires to use a library module
> mygwt/libs/Fishing
>
> Then Salmon.gwt.xml should declare the entry point as
> examples.fish.client.Login
> and declare that it inherits
> mygwt.libs.Fishing module.
> All modules must also inherit the basic module
> com.google.gwt.user.User.
>
> <module>
>  <inherits name="mygwt.libs.Fishing"/>
>  <inherits name="com.google.gwt.user.User"/>
>  <entry-point class="examples.fish.client.Login"/>
> </module>
>
> Now if you copied examples/fish/client/Login.java
> to examples/mammals/client/Login.java
>
> You need to reconstruct your module file and rename it say,
> examples/mammals/Elephant.gwt.xml, with the entry point changed:
>
> <module>
>  <inherits name="mygwt.libs.Fishing"/>
>  <inherits name="com.google.gwt.user.User"/>
>  <entry-point class="examples.mammals.client.Login"/>
> </module>
>
> You should use the eclipse plugin. But if you did, eclipse would not
> inform you of any missing inheritance until you do a gwt-compile by
> clicking on the little red gwt icon on the menu bar.
>
> You cannot simply copy files around a gwt hierarchy by only renaming
> their package namespace. You have to ensure that the gwt module files
> are properly defined and the integrity of the inheritance hierarchy.
> Otherwise, the oft familiar message would appear "did you forget to
> inherit a required module?".
>
> I think you should read up on the GWT intro or at 
> leasthttp://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects....
> .
>
> ~ good luck!
--~--~---------~--~----~------------~-------~--~----~
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