添加相关的Jar

下载daocache

Ehcache 2.x

maven配置

  1. <dependency>
  2. <groupId>org.nutz</groupId>
  3. <artifactId>nutz-plugins-daocache</artifactId>
  4. <version>1.r.59</version>
  5. </dependency>
  6. <dependency>
  7. <groupId>net.sf.ehcache</groupId>
  8. <artifactId>ehcache</artifactId>
  9. <version>2.10.1</version>
  10. </dependency>