Hi,

I'm getting this error too. I am using 1.3.1 SDK and can see appengine-
jsr107cache-1.3.1.jar and jsr107cache-1.1.jar in the App Engine
classpath container for eclipse, but when I start the test server I
get the following error:

Caused by: net.sf.jsr107cache.CacheException: Could not find class:
'ri.cache.BasicCacheFactory'
        at net.sf.jsr107cache.CacheManager.getCacheFactory(CacheManager.java:
46)
...
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:
100)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$7.run(AbstractAutowireCapableBeanFactory.java:1514)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:
1512)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:
1468)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:
1400)
        ... 30 more

When I try and change the factory class lookup in appengine-web.xml to
the following:

    <system-properties>
        <property name="java.util.logging.config.file" value="WEB-INF/
logging.properties" />
        <property name="net.sf.jsr107cache.CacheFactory"
value="com.google.appengine.api.memcache.jsr107cache.GCacheFactory" />
    </system-properties>

I get a ClassNotFoundException for GCacheFactory as well.

Does anyone know how to fix this or might it be a case of rebuilding
the workspace like a previous poster has?

Thanks,

Paul.

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

Reply via email to