[appengine-java] Re: memcache package not in classpath

2010-10-26 Thread Max
Thanks a lot for sharing this!

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: memcache package not in classpath

2010-09-07 Thread bvb
Actually, I figured it out. It turns out that the package is
javax.cache, not net... Perhaps the documentation could be updated to
reflect this?

On Sep 7, 8:47 pm, bvb  wrote:
> Hi,
>
> Following the instructions 
> here:http://code.google.com/appengine/docs/java/tools/ant.html
> I'm using ant to build my project. Although the jsr jar file is
> showing up in my war/WEB-INF/lib directory, trying to build gets me
> the following error: "package net.sf.jsr107 does not exist".
>
> The relevant parts of the file in question are:
>
> import net.sf.jsr107.Cache;
> import net.sf.jsr107.CacheException;
> import net.sf.jsr107.CacheFactory;
> import net.sf.jsr107.CacheManager;
>
> ...
>
> cache =
> CacheManager.getInstance().getCacheFactory().createCache(Collections.emptyMap());
>
> What am I doing wrong?
>
> Thanks!

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.