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

我看了半天 实在找不到错在哪里

 Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring/spring-dao.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\javawork\demo\target\classes\mapper\SuccessKilledDao.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'SuccessKilled'.  Cause: java.lang.ClassNotFoundException: Cannot find class: SuccessKilled

提问者:慕粉1462165010 2017-03-18 23:55

个回答

  • qq_笔直的弯儿_0
    2017-03-20 18:32:35

    sqlSessionFactory 这里往下有错啊