> Caused by: org.datanucleus.exceptions.NucleusException: Error creating > cache > at > org.datanucleus.cache.JavaxCacheLevel2Cache.<init>( > JavaxCacheLevel2Cache.java:98)
You did not put a Javax.cache provider in your CLASSPATH. As Oscar suggested. DataNucleus provides "a simple wrapper to javax.cache's caches". So you need to select an implementation of javax.cache (just like DataNucleus is an implementation of javax.jdo, so you need to select your preferred implementation of javax.cache). EHCache has one IIRC. You didn't really expect DataNucleus to implement its own javax.cache implementation as well as its own JDO implementation as well as its own JPA implementation, etc? All with 1 developer?! Regards -- Andy DataNucleus (Web: http://www.datanucleus.org Twitter: @datanucleus)