Yep, thanks

I guess I have found out the root of the problem, just as you and John
said, though it is not easy to find out.


On Apr 1, 6:33 am, "Max Ross (Google)" <[email protected]>
wrote:
> The method that can't be found was added in 1.3.2 so, as John says, this is
> almost certainly a classpath problem.  My guess is that you have an old
> version of appengine-api.jar on your classpath somewhere.
>
> On Tue, Mar 30, 2010 at 8:26 PM, Featheast Lee <[email protected]>wrote:
>
>
>
> > I tried to do what you mentioned here, but seems no lucky.
>
> > On Mar 31, 1:21 pm, John Patterson <[email protected]> wrote:
> > > Looks like you have a class path problem.  Do you have different
> > > versions of the app engine jars in your WEB-INF/lib dir?
>
> > > On 31 Mar 2010, at 09:18, Featheast Lee wrote:
>
> > > > I have updated my app engine to 1.3.2 a couple of days ago, and it
> > > > runs well on the cloud. Today, when I trying to some testing on my
> > > > local machine, an exception throws out whenever I try to use the PMF
> > > > code:
> > > >       PersistenceManager pm = PMF.get().getPersistenceManager();
>
> > > > Basically the exceptions stacks are:
> > > >       Internal Server Error (500) - The server encountered an
> > > > unexpected condition which prevented it from fulfilling the request
> > > >       ................
> > > >       Caused by: java.lang.NoSuchMethodError:
> > > > com
> > > > .google
> > > > .appengine
> > > > .api.datastore.DatastoreServiceFactory.getDatastoreService(Lcom/
> > > > google/appengine/api/datastore/DatastoreServiceConfig;)Lcom/google/
> > > > appengine/api/datastore/DatastoreService;
>
> > > > At first, I thought it is the problem of my newly added code, however,
> > > > after several attempts, all failed no matter what change i made.
> > > > Then I thought it might be the issue of SDK, after I switched back my
> > > > app engine to 1.3.1, it works perfect.
>
> > > > But how can the same code runs well in the cloud, but failed in my
> > > > local machine with different versions?
>
> > > > Anyone can give me some idea? Thanks.
>
> > > > PS: my test code is a pretty simple client code generate a GET method
> > > > to the app engine project, and a datastore query will be called, the
> > > > exception happens when the PMF is called.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > Groups "Google App Engine for Java" group.
> > > > To post to this group, send email to
> > [email protected]
> > > > .
> > > > To unsubscribe from this group, send email to
> > [email protected]<google-appengine-java%2B 
> > [email protected]>
> > > > .
> > > > For more options, visit this group athttp://
> > groups.google.com/group/google-appengine-java?hl=en
> > > > .
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine for Java" group.
> > To post to this group, send email to
> > [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-appengine-java%2B 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-appengine-java?hl=en.

Reply via email to