I think you're trying to use server-side code in the client-side of
your application, do you understand how modules are structured and the
difference between server-side code and client-side code in GWT ? If
not, I suggest you read the GWT Documentation, which explains the
whole of it pretty nicely.

Salvador

On Apr 16, 6:23 am, yyanghhong <yyanghh...@gmail.com> wrote:
> Hey
> I got the following error when using JPA query, which module should I
> put into GWT compiler class path?
>
> Compiling module web.google.****
>      [java]    Refreshing module from source
>      [java]       Validating newly compiled units
>      [java]          Removing units with errors
>      [java]             [ERROR] Errors in 'file:/ogle/client/EMF.java'
>      [java]                [ERROR] Line 14: No source code is
> available for type javax.persistence.EntityManagerFactory; did you
> forget to inherit a required module?
>      [java]                [ERROR] Line 15: No source code is
> available for type javax.persistence.Persistence; did you forget to
> inherit a required module?
>      [java]    Compiling 5 permutations
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to