Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config-mybatis.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error registering typeAlias for 'EduInfoVo'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.digitalchina.citizenwebapp.eduinfo.vo.EduInfoVo
按异常提示是找不到EduInfoVo类但我路径配置的都是正确的
<typeAliases>
<!-- vo define -->
<typeAlias alias="EduInfoVo" type="com.digitalchina.citizenwebapp.eduinfo.vo.EduInfoVo" />
<typeAlias alias="hashmap" type="java.util.HashMap" />
<typeAlias alias="list" type="java.util.List" />
<typeAlias alias="String" type="java.lang.String" />
<typeAlias alias="Integer" type="java.lang.Integer" />
</typeAliases>
不知道哪里错了
在
<typeAlias alias="Integer" type="java.lang.Integer" />
一项 看看是否报错