Friday, November 26, 2010

Expenses example - cache warning

I compile the expenses example from trunk, but got the following
warning appearing every second or so:

26-Nov-2010 20:28:01
com.google.gwt.sample.expenses.server.domain.Report
findReportEntriesBySearch
WARNING: Exception retrieving memcache instance:
net.sf.jsr107cache.CacheException: Could not find class:
'ri.cache.BasicCacheFactory'

I found this post:, which gives the answer

http://code.google.com/p/googleappengine/issues/detail?id=3099


I changed the imports in both Report and ReportBack classes from

import net.sf.jsr107cache.Cache;
import net.sf.jsr107cache.CacheException;
import net.sf.jsr107cache.CacheFactory;
import net.sf.jsr107cache.CacheManager;

to

import javax.cache.Cache;
import javax.cache.CacheException;
import javax.cache.CacheFactory;
import javax.cache.CacheManager;

and the problem is cleared

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

No comments:

Post a Comment