【发布时间】:2019-11-07 13:04:10
【问题描述】:
我收到此错误:
APPLICATION FAILED TO START
***************************
Description:
Configuration property name 'appConfig.baseVersion' is not valid:
Invalid characters: 'C'
Bean: paymentCheckoutRequestBuilder
Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter
Action:
Modify 'appConfig.baseVersion' so that it conforms to the canonical names requirements.
paymentCheckoutRequestBuilder 是 PaymentCheckoutRequestBuilder 类的 bean。我应该如何解决这个问题,你不能在 kebab-case 中命名一个类。
另外,这个错误发生在我尝试将我的 spring-boot 升级到 2.2.0 之后。
这个 appConfig.baseVersion 是什么,在网上找不到任何东西。
【问题讨论】:
标签: java spring maven spring-boot