Re: GWT JPA problem

93 views
Skip to first unread message

Juan Pablo Gardella

unread,
Nov 20, 2012, 12:56:39 PM11/20/12
to google-we...@googlegroups.com
Check if you have in eclipse appengine activated. If so, desactive it.


2012/11/20 arun kumar <arunkuma...@gmail.com>
Hi,
 
 
i am trying to develop a project that uses JPA. And when i compile it "GWT compile" option  i get "javax.persistence cannot be resolved" error.
 
I have included both eclipselink and toplink libraries in the build path.
 
I am really surprised as another project that uses JPA is compiled without any problem. ( with the same build path settings ). 
 
Can someone can please tell me what other things i have to check?.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XB3EbY3ZV64J.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

arun kumar

unread,
Nov 20, 2012, 1:12:20 PM11/20/12
to google-we...@googlegroups.com

Hi,

Project -> Properties - Google -> APP engine already deactivated.

The strange thing is everything looks same for 2 projects. One compiles fine. Another not.

But they are imported from difference locations.

both of them compiled ok in the original machines.  But they are different eclipse versions.


On Tuesday, November 20, 2012 6:57:16 PM UTC+1, Juan Pablo Gardella wrote:
Check if you have in eclipse appengine activated. If so, desactive it.


2012/11/20 arun kumar <arunkuma...@gmail.com>
Hi,
 
 
i am trying to develop a project that uses JPA. And when i compile it "GWT compile" option  i get "javax.persistence cannot be resolved" error.
 
I have included both eclipselink and toplink libraries in the build path.
 
I am really surprised as another project that uses JPA is compiled without any problem. ( with the same build path settings ). 
 
Can someone can please tell me what other things i have to check?.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XB3EbY3ZV64J.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsub...@googlegroups.com.

arun kumar

unread,
Nov 20, 2012, 1:14:06 PM11/20/12
to google-we...@googlegroups.com
And thanks for the quick reply. I really appreciate you.

arun kumar

unread,
Nov 21, 2012, 3:24:17 PM11/21/12
to google-we...@googlegroups.com
I cleared the gwt-unitCache directory and now it compiles OK. I think it just kept all the files from the previous machine which prevented from using the new JPA libraries.
Reply all
Reply to author
Forward
0 new messages