//提示信息
The XML location is 'org/javaboy/vhr/mapper/JobLevelMapper.xml'.
Cause: org.apache.ibatis.builder.BuilderException:
Error resolving class.
Cause: org.apache.ibatis.type.TypeException:
Could not resolve type alias 'BaseResultMap'.
Cause: java.lang.ClassNotFoundException: Cannot find class: BaseResultMap
//下面还有
org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'jobLevelController': Unsatisfied dependency expressed through field 'jobLevelService';
nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jobLevelService': Unsatisfied dependency expressed through field 'jobLevelMapper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobLevelMapper' defined in file ***
nested exception is java.lang.IllegalArgumentException: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'org/javaboy/vhr/mapper/JobLevelMapper.xml'.
Cause: org.apache.ibatis.builder.BuilderException: Error resolving class.
Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'BaseResultMap'.
Cause: java.lang.ClassNotFoundException: Cannot find class: BaseResultMap
原因:在xml文件里面sql语句的返回类型写错了,resultMap写成了resultType