java.lang.RuntimeException: java.lang.reflect.InvocationTargetException,无法运行

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException,无法运行_第1张图片

一、controller和service没有进行拆分

tk.mybatis版本问题,原本使用1.2.3版本,查了一下阿里云maven仓库,升级到最新版本2.1.5

二、controller和service是拆分的架构(推荐此方法)

在application.properties文件中加入:mapper.identity=mysql

你可能感兴趣的:(Linux)