EHC ❯ ehcache-core-2.1.0 isn't compatible with Google App Engine
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
ehcache-core
-
-
qa
-
Reporter: hhuynh
-
May 21, 2010
-
0
-
Watchers: 0
-
January 17, 2013
-
December 14, 2011
Attachments
Description
java.lang.NoClassDefFoundError: javax.swing.event.EventListenerList is a restricted class. Please see the Google App Engine developer’s guide for more details.
at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
at net.sf.ehcache.store.AbstractStore.getEventListenerList(AbstractStore.java:36)
at net.sf.ehcache.store.AbstractStore.removeStoreListener(AbstractStore.java:102)
at net.sf.ehcache.store.AbstractStore.addStoreListener(AbstractStore.java:92)
at net.sf.ehcache.Cache.initialise(Cache.java:1037)
at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:967)
at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:608)
at net.sf.ehcache.CacheManager.init(CacheManager.java:339)
at net.sf.ehcache.CacheManager.
Comments
Hung Huynh 2010-05-21
Fiona OShea 2011-04-05
Did Google fix this? Rumours that they might have
Aurelien Broszniowski 2011-12-14
Tried it with GAE 1.5.2 (could not get the 1.3.2, too old) runs fine with ehcache 2.1.0 and 2.5.0
Attached is the webapp that works with ehcache-core-2.0.1.jar in GAE environment.
If you replace WEB-INF/lib/ehcache-core-2.0.1.jar with ehcache-core-2.1.0.jar, you’ll get the error.
To run servicecache (attached) with GAE:
bin/dev_appserver.sh /path/to/unzipped/servicecache