问答详情
源自:4-9 DAO层单元测试编码和问题排查(下)

不能识别dao

请问有遇到这个问题的么:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring/spring-dao.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/seckill/dao/seckillDao (wrong name: org/seckill/dao/SeckillDao)

我是新手,所以是跟着老师来的

提问者:Yingbei 2017-08-22 10:16

个回答

  • 慕仔0278741
    2017-08-27 11:21:40

    是不是名字写错了,比如大小写