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

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

问题:

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

解决:

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

<typeAliases>
<!--        <typeAlias type="com.czxy.ssm.domain.User" alias="user" />-->
        <typeAlias type="com.czxy.ssm.domain.Order" alias="order" />
    </typeAliases>


目录
相关文章
|
消息中间件 Java 数据格式
【报错】spring整合activeMQ,pom.xml文件缺架包,启动报错:Caused by: java.lang.ClassNotFoundException: org.apache.xbean.spring.context.v2.XBeanNamespaceHandler
spring版本:4.3.13 ActiveMq版本:5.15 ======================================================== spring整合activeMQ,pom.
2025 0
|
4月前
|
easyexcel Java Apache
EasyExcel导入的时候报错Caused by: java.lang.NoClassDefFoundError: org/apache/poi/poifs/filesystem/File
EasyExcel导入的时候报错Caused by: java.lang.NoClassDefFoundError: org/apache/poi/poifs/filesystem/File
382 0
|
5月前
|
Kubernetes Oracle 关系型数据库
实时计算 Flink版操作报错合集之用dinky在k8s上提交作业,会报错:Caused by: org.apache.flink.table.api.ValidationException:,是什么原因
在使用实时计算Flink版过程中,可能会遇到各种错误,了解这些错误的原因及解决方法对于高效排错至关重要。针对具体问题,查看Flink的日志是关键,它们通常会提供更详细的错误信息和堆栈跟踪,有助于定位问题。此外,Flink社区文档和官方论坛也是寻求帮助的好去处。以下是一些常见的操作报错及其可能的原因与解决策略。
264 0
|
6月前
|
监控 NoSQL Java
Spring Boot集成Redis启动失败【Caused by: java.lang.ClassNotFoundException: org.apache.commons.pool2.impl.G】
Spring Boot集成Redis启动失败【Caused by: java.lang.ClassNotFoundException: org.apache.commons.pool2.impl.G】
|
6月前
|
Python
【已解决】Caused by: org.apache.spark.SparkException: Python worker failed to connect back.
【已解决】Caused by: org.apache.spark.SparkException: Python worker failed to connect back.
301 0
|
Java 数据库连接 mybatis
org.apache.ibatis.binding.BindingException: Type interface is not know to the MapperRegistry.
错误原因 没有将映射文件引入到MyBatis的核心文件中。 将映射文件引入即可。
163 0
org.apache.ibatis.binding.BindingException: Type interface is not know to the MapperRegistry.
|
SQL Java 数据库连接
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration.
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration.
469 0
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration.
|
Java 应用服务中间件
Caused by: java.lang.ClassNotFoundException: org.apache.solr.handler.dataimportHandler
Caused by: java.lang.ClassNotFoundException: org.apache.solr.handler.dataimportHandler
294 0

推荐镜像

更多
下一篇
无影云桌面