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
2 回答
已采纳
一户一世界
TA贡献2条经验 获得超1个赞
redisDao通过构造器初始化bean失败,提供构造器注入了吗·?
com/dyuproject/protostuff/MapSchema 找不到这个类
先简单说到这,看不到代码不好分析
添加回答
举报
0/150
提交
取消