错误如下
加入缓存配置如下后
出现错误:2016-08-05 20:45:27,954 [main] WARN [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userManagementDao' defined in file [E:\workspace\console\target\classes\com\helpyou\portal\user\repository\UserManagementDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': Error creating bean with name 'sqlSessionFactory' defined in URL [file:/E:/workspace/console/target/classes/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\workspace\console\target\classes\mybatis\AdvertElementMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.cache.CacheException: Could not instantiate cache implementation (class com.helpyou.portal.persistence.mybatis.cache.MybatisRedisCache). Cause: java.lang.reflect.InvocationTargetException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in URL [file:/E:/workspace/console/target/classes/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\workspace\console\target\classes\mybatis\AdvertElementMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.cache.CacheException: Could not instantiate cache implementation (class com.helpyou.portal.persistence.mybatis.cache.MybatisRedisCache). Cause: java.lang.reflect.InvocationTargetException 有没有大神解答一下的!谢谢啦