报错:
Failed to bind properties under 'mybatis-plus.global-config.post-init-table-info-handler' to com.baomidou.mybatisplus.core.handlers.PostInitTableInfoHandler:
Property: mybatis-plus.global-config.post-init-table-info-handler
Value: "cc.kuaida.common.config.KuaidaPostInitTableInfoHandler.java"
Origin: class path resource [application.properties] - 51:57
Reason: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [com.baomidou.mybatisplus.core.handlers.PostInitTableInfoHandler]
确认
当前程序版本
3.5.7
问题描述
使用自定义的PostInitTableInfoHandler配置时,系统报错:
配置: mybatis-plus.global-config.post-init-table-info-handler=cc.kuaida.common.config.KuaidaPostInitTableInfoHandler
报错: Failed to bind properties under 'mybatis-plus.global-config.post-init-table-info-handler' to com.baomidou.mybatisplus.core.handlers.PostInitTableInfoHandler:
没找到有这个配置的说明,请请如何实现?主要目的是想在扫描实体时,动态增加自定义属性
详细堆栈日志
No response