Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias ‘Student’. Cause: java.lang.ClassNotFoundException: Cannot find class: Student
解决:在mybatis-config.xml(配置文件)里加上别名,立即见效
<typeAliases>
<package name="com.genius.pojo"/>
</typeAliases>
Original: https://www.cnblogs.com/GeniusWang/p/15644209.html
Author: Genius_Wang
Title: Cause: java.lang.ClassNotFoundException: Cannot find class: Studen
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/583132/
转载文章受原作者版权保护。转载请注明原作者出处!