SpringBoot中编写配置前缀时--出现"Prefix must be in canonical"的解决方法
今天在为SpringBoot编写配置前缀时候--出现
Prefix must be in canonical 到底是什么原因导致此类信息的提示呢? ================================================= 在SpringBoot中@ConfigurationProperties注解引入yaml配置文件时 prefix参数不支持小驼峰原则,必须全部小写 如果不全部使用小写,则会出现以上的提示

版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。