Unable to start embedded Tomcat

通常是由于xml文件配置错误导致

  1. mapper 指向错误

    <resultMap id="Waybill" type="c.Waybill">
  2. 字段类型错误

    <result column="wstatus" property="stus" javaType="TINYINT"/>

    TINYINT 是数据库类型

    <result column="wtatus" property="stats" jdbcType="TINYINT"/>

或者

复制代码
 String 是Java 类型
<result column="way_inv_no" property="invNo" jdbcType="String"/>

 <result column="way_inv_no" property="invNo" javaType="String"/>
相关推荐
SimonKing5 分钟前
颠覆传统IO:零拷贝技术如何重塑Java高性能编程?
java·后端·程序员
sniper_fandc15 分钟前
SpringBoot系列—MyBatis(xml使用)
java·spring boot·mybatis
胚芽鞘68144 分钟前
查询依赖冲突工具maven Helper
java·数据库·maven
Charlie__ZS1 小时前
若依框架去掉Redis
java·redis·mybatis
咖啡啡不加糖1 小时前
RabbitMQ 消息队列:从入门到Spring Boot实战
java·spring boot·rabbitmq
玩代码2 小时前
Java线程池原理概述
java·开发语言·线程池
NE_STOP2 小时前
SpringBoot--如何给项目添加配置属性及读取属性
java
水果里面有苹果2 小时前
20-C#构造函数--虚方法
java·前端·c#
%d%d22 小时前
python 在运行时没有加载修改后的版本
java·服务器·python
金銀銅鐵2 小时前
[Kotlin] 单例对象是如何实现的?
java·kotlin