但是通过xml定义的cache是在重启服务器后是可以恢复的。,不知道上面地方出了问题,求解
看看这个:http://blog.csdn.net/qq_33556185/article/details/51683926
用spring的注解来管理缓存吧