You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***************************
APPLICATION FAILED TO START
***************************
Description:
Configuration property name 'spring.datasource.druid.data-sources.commonMaster' is not valid:
Invalid characters: 'M'
Bean: additionConfigController
Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter
Action:
Modify 'spring.datasource.druid.data-sources.commonMaster' so that it conforms to the canonical names requirements.
Hi~
我在Spring Boot 2.1下使用这个组件时遇到个问题:
提示属性名格式不正确。确认了一下yml里面写的,的确是小写中横线格式的:
跟了一下,是初始化数据源对象时候,bind属性操作使用的
beanName
拼接,而非最初配置使用的key:druid-spring-boot/druid-spring-boot/druid-spring-boot-autoconfigure/src/main/java/com/github/trang/druid/autoconfigure/DruidDataSourceConfiguration.java
Line 142 in 885f61e
所以这里要么想办法把先前的key传过来,要么再做一次驼峰转小写中横线😂
The text was updated successfully, but these errors were encountered: