I had that error once after renaming one of my modules. I found out both the old and new module where still in my war directory. Try deleting the modules (and other compiled files) and re-compiling GWT. You'll then see which modules are generated and thus which modules are configured correctly.
Good luck! Alex Nederlof On Wed, Jan 5, 2011 at 5:05 PM, Rodrigo Romano <[email protected]> wrote: > I dont think the problem is in my gwt.xml file. > > As I said in the topic its compiles after all. > > Look my Database.gwt.xml file located in the mypackage directoy. > <module> > <inherits name="com.googlecode.objectify.Objectify"/> > <inhheits name="com.google.gwt.user.User"/> > <source path="database"></source> > </moduel> > > And My module located in mypackage/gwt/modules/client directory. > > <module> > <entry-point class="mypackage.gwt.modules.client.Etapa1" /> > <inherits name="com.google.gwt.user.theme.starndard.Standard" /> > <inherits name-"mypackage.Database" > > <inherirts name="com.google.gwt.user.User" /> > </module> > > > I dont know what this fieldSerializer has about with my module. It is > not my programing part. Look like is something in the gwt > configuration... > > Help please. > Thank you in advance, > Rodrigo. > > > > > > On 4 jan, 13:39, Paul Robinson <[email protected]> wrote: > > For every that GWT translates to javascript for use in the client, you > must tell GWT where the source code is so that it knows how to translate it. > > > > The error message is telling you that mypackage.database.MyClass is in a > directory (mypackage/database) that is not amongst the directories that you > have told GWT contain translatable source code. However, MyClass is being > used from client code, and so GWT wants to translate it. > > > > If you want MyClass to be used in the client, then your gwt.xml file > needs to specify that its directory (or a parent directory) contains source > code. > > > > HTH > > Paul > > > > On 04/01/11 03:19, Rodrigo Romano wrote: > > > > > > > > > Hi, > > > > > I am trying to gwt compile my modules that are 100% POJO using > > > objectify. > > > And I getting this error message, but it compiles after that. What it > > > means?? > > > > > [ERROR] Errors in 'generated://C34ED3C084298C31F07B52ABE9478A9C/ > > > mypackage/database/MyClass_FieldSerializer.java' > > > [ERROR] Line 20: No source code is available for type > > > mypackage.database.MyClass; did you forget to inherit a required > > > module? > > > See snapshot: C:\Users\ISAC_N~1\AppData\Local\Temp > > > \mypackage.database.MyClass_FieldSerializer7886760315816490954.java > > > [ERROR] Errors in 'generated:// > > > D53192D233C2B1A6E8A82A245F961E08/mypackage/gwt/modules/client/ > > > ISessionSuportService_Proxy.java' > > > [ERROR] Line 463: No source code is available for type > > > mypackage.database.MyClass; did you forget to inherit a required > > > module? > > > See snapshot: C:\Users\ISAC_N~1\AppData\Local\Temp > > > > \mypackage.gwt.modules.client.ISessionSuportService_Proxy5224909169187970547.java > > > Compiling 6 permutations > > > Compiling permutation 0... > > > Compiling permutation 1... > > > Compiling permutation 2... > > > Compiling permutation 3... > > > Compiling permutation 4... > > > Compiling permutation 5... > > > Compile of permutations succeeded > > > > > Help Please.... > > > [], > > > Thanks in advance.- Ocultar texto das mensagens anteriores - > > > > - Mostrar texto das mensagens anteriores - > > -- > 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]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
