問題背景:
今天在將項目打成 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 包部署
今天在將項目打成 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 包部署