*1 java.lang.ClassNotFoundException: Cannot find class
Failed to parse mapping resource: 'file [D:\DevelopDemo\renhai200506\target\classes\com\qinyi\renhai\mapper\RhMemberSignFlowMapper.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 ''. Cause: java.lang.ClassNotFoundException: Cannot find class:
我遇到的错误是mybatis RhMemberSignFlowMapper.xml文件里参数写错,这个错误类型,记得先去xml,及mapper文件看看有没有写错的地方,比如之前generator文件执行两次,导致xml文件多了一倍的代码也会出现这样的问题
网友评论