问题背景:

今天在将项目打成 war 包放在服务器上运行,出现如下错误:

Failed to bind properties under 'mybatis-plus.configuration.parameter-maps[0]' to org.apache.ibatis.mapping.ParameterMap

 

问题原因:

与 Spring Boot 2.2.0兼容性有关

 

解决办法:

降低 Spring Boot 的版本在 2.2.0 以下,重新打 war 包部署