into test_table (id,name,desc,password) values (?,?,?,?)
这样的语句里面还有sql关键字desc,一般出现这种情况,我们通常会在desc上加上 ``(转移符,位置在tab键上方)就可以。
provider无参构造器找不到
通用mapper配置文件:
server:
port: 11111
jetty:
accesslog:
time-zone: UTC
#logging:
level:
cn.itcast: error
org.springframework: error
spring:
datasource:
driver-class-name:
url: jdbc:mysql://localhost:3306/leyou?serverTimezone=GMT
username: root
password: 123456
mapper:
mappers: [tk.mybatis.mapper.common.special.InsertListMapper, tk.mybatis.mapper.common.Mapper]