: Could not resolve type alias异常
配置mybatis后,启动,发现抛出如下异常:
原因:将resultMap写成了resultType,Type对应的是对象类,所以抛出ClassNotFoundException的异常,mybatis的结果是存放在resultMap中的。
: Could not resolve type alias异常
配置mybatis后,启动,发现抛出如下异常:
原因:将resultMap写成了resultType,Type对应的是对象类,所以抛出ClassNotFoundException的异常,mybatis的结果是存放在resultMap中的。