What steps will reproduce the problem?
1. Run this code:
import net.sf.jsr107cache.Cache;
import net.sf.jsr107cache.CacheException;
import net.sf.jsr107cache.CacheManager;
Cache cache;
try {
cache = CacheManager.getInstance().getCacheFactory()
.createCache(Collections.emptyMap());
}
catch (CacheException e) {
return "CacheDao Creation Error : " + e.getMessage();
}
return "Cache Works";
2. Error Occurs
Could not find class: 'ri.cache.BasicCacheFactory'
What is the expected output? What do you see instead?
Memcache should be created and available.
What version of the product are you using? On what operating system?
GAE 1.4.2
Please provide any additional information below.
Looks like the solution to this one is a missing dependency in the POM
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-jsr107cache</artifactId>
<version>${gae.version}</version>
</dependency>
Original issue reported on code.google.com by drgenejones on 11 Mar 2011 at 1:14
Original issue reported on code.google.com by
drgenejones
on 11 Mar 2011 at 1:14