org.apache.ibatis.type.TypeException: Could not resolve type alias 'BIGINT'
2021-02-09 17:16
标签:char exce mon div frame int spring common lan 异常 原因:自己的粗心大意,jdbcType被我写成了javaType 解决办法:JavaType对应的是类里的数据类型,jdbcType对应数据库里的类型 将javaType 改成jdbcType就可以了 org.apache.ibatis.type.TypeException: Could not resolve type alias 'BIGINT' 标签:char exce mon div frame int spring common lan 原文地址:https://www.cnblogs.com/XiDaPuBen/p/13059986.htmlCaused by: org.apache.ibatis.type.TypeException: Could not resolve type alias ‘BIGINT‘. Cause: java.lang.ClassNotFoundException: Cannot find class: BIGINT
at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:120) ~[mybatis-3.4.4.jar:3.4.4]
at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:149) ~[mybatis-3.4.4.jar:3.4.4]
at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:116) ~[mybatis-3.4.4.jar:3.4.4]
... 81 common frames omitted
Caused by: java.lang.ClassNotFoundException: Cannot find class: BIGINT
at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:200) ~[mybatis-3.4.4.jar:3.4.4]
at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:89) ~[mybatis-3.4.4.jar:3.4.4]
at org.apache.ibatis.io.Resources.classForName(Resources.java:261) ~[mybatis-3.4.4.jar:3.4.4]
at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:116) ~[mybatis-3.4.4.jar:3.4.4]
... 83 common frames omitted
Process finished with exit code 1
文章标题:org.apache.ibatis.type.TypeException: Could not resolve type alias 'BIGINT'
文章链接:http://soscw.com/index.php/essay/53181.html