org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisDao' defined in class path resource [spring/spring-dao.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.seckill.dao.cache.RedisDao]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/dyuproject/protostuff/MapSchema$MessageFactory
2016-08-13
為什么我的報這個錯
2016-08-13
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisDao' defined in class path resource [spring/spring-dao.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.seckill.dao.cache.RedisDao]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/dyuproject/protostuff/MapSchema$MessageFactory
2016-06-11
找到原因了 redis執行 CONFIG SET protected-mode no