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