"The import com.google.apphosting.api.ApiProxy cannot be resolved"

211 views
Skip to first unread message

bill

unread,
Dec 27, 2009, 10:01:37 PM12/27/09
to Google App Engine
I followed the instructions here:

http://code.google.com/appengine/docs/java/howto/unittesting.html

and added appengine-api-stubs.jar and appengine-local-runtime.jar to
my classpath. Eclipse was able to resolve these imports fine:

import com.google.appengine.api.datastore.dev.LocalDatastoreService;
import com.google.appengine.tools.development.ApiProxyLocalImpl;

It is not able to resolve this import:

import com.google.apphosting.api.ApiProxy;

Is there another JAR file I need to add to my classpath?

- Bill

Ikai L (Google)

unread,
Dec 29, 2009, 2:32:54 PM12/29/09
to google-a...@googlegroups.com
ApiProxy should just be part of the standard SDK JAR. Is this being included correctly?


--

You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.





--
Ikai Lan
Developer Programs Engineer, Google App Engine

ivanceras

unread,
Feb 3, 2010, 1:13:25 AM2/3/10
to Google App Engine
I also have the same issue,
import com.google.appengine.tools.development.ApiProxyLocalImpl;
is an error in my eclipse IDE.

On Dec 30 2009, 3:32 am, "Ikai L (Google)" <ika...@google.com> wrote:
> ApiProxy should just be part of the standard SDK JAR. Is this being included
> correctly?
>
>
>
>
>
> On Sun, Dec 27, 2009 at 7:01 PM, bill <b...@alerts.com> wrote:
> > I followed the instructions here:
>
> >http://code.google.com/appengine/docs/java/howto/unittesting.html
>
> > and added appengine-api-stubs.jar and appengine-local-runtime.jar to
> > my classpath.  Eclipse was able to resolve these imports fine:
>
> > import com.google.appengine.api.datastore.dev.LocalDatastoreService;
> > import com.google.appengine.tools.development.ApiProxyLocalImpl;
>
> > It is not able to resolve this import:
>
> > import com.google.apphosting.api.ApiProxy;
>
> > Is there another JAR file I need to add to my classpath?
>
> > - Bill
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-a...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > google-appengi...@googlegroups.com<google-appengine%2Bunsubscrib e...@googlegroups.com>

Guser

unread,
Feb 9, 2010, 2:25:23 PM2/9/10
to Google App Engine
This error started on my in Eclipse for me, as well, after I
downloaded and installed the latest GWT 2.0.1

No resolution yet, and it didn't happen after updating on another
workstation, so not sure what the issue is.

Here's the error,

The type com.google.apphosting.api.ApiProxy$Delegate cannot be
resolved. It is indirectly referenced from required .class files

and

The project was not built since its build path is incomplete. Cannot
find the class file for com.google.apphosting.api.ApiProxy$Delegate.
Fix the build path then try building this project

Reply all
Reply to author
Forward
0 new messages