我刚刚将我的项目的Spring版本从Spring-4.2.5升级到Spring-4.3.17.RELEASE。因为我更新了弹簧版本,所以我得到了以下异常:
java.lang.NullPointerException: Underlying cache cannot be null
at net.sf.ehcache.constructs.EhcacheDecoratorAdapter.<init>
(EhcacheDecoratorAdapter.java:70)
at net.sf.ehcache.constructs.blocking.BlockingCache.<init>
(BlockingCache.java:93)
当前版本:
春季-4.317
ehcache - 2.10.4
hibernate3-3.6.6.jar
任何领导都会有所帮助。