
-
先把自动重启关一下
devtools:
restart:
#热部署生效
enabled: false - 把devtools给删除了,说是这个jar包导致
ApplyApplication里面的@MapperScan导入包由:org.mybatis.spring.annotation.MapperScan改成tk.mybatis.spring.annotation.MapperScan
先把自动重启关一下
devtools:
restart:
#热部署生效
enabled: false
ApplyApplication里面的@MapperScan导入包由:org.mybatis.spring.annotation.MapperScan改成tk.mybatis.spring.annotation.MapperScan