Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias ‘order‘. Caus

2021-12-07 12:53:19 浏览数 (2)

问题:

Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias ‘order’. Caus

解决:

在SqlMapConfig.xml加上下面一段代码:

代码语言:javascript复制
<typeAliases>
<!--        <typeAlias type="com.czxy.ssm.domain.User" alias="user" />-->
        <typeAlias type="com.czxy.ssm.domain.Order" alias="order" />
    </typeAliases>

0 人点赞