I’ve a project that uses ehcache 3, and have a unit tests that I want to use 
with the embedded ApacheDS which uses ehcache 2.9. This leads to the well-noted 
exception:

java.lang.annotation.IncompleteAnnotationException: 
org.terracotta.statistics.Statistic missing element type

If I exclude 2.9 in the maven pom, the embedded DS fails to start with:

java.lang.NoClassDefFoundError: net/sf/ehcache/config/ConfigurationFactory

Is there a way to disable the cache loading entirely? I didn’t see a way to do 
it.

Thanks for any input!

-Richard

Reply via email to