org.apache.ibatis.type.TypeException: Could not resolve type alias異常
配置mybatis後,啓動,發現拋出如下異常:
原因:將resultMap寫成了resultType,Type對應的是對象類,所以拋出ClassNotFoundException的異常,mybatis的結果是存放在resultMap中的。
org.apache.ibatis.type.TypeException: Could not resolve type alias異常
配置mybatis後,啓動,發現拋出如下異常:
原因:將resultMap寫成了resultType,Type對應的是對象類,所以拋出ClassNotFoundException的異常,mybatis的結果是存放在resultMap中的。
https://blog.csdn.net/zmx729618/article/details/54133830