我們看到demo中的配置是registry.conf和file.conf
中的格式長這樣
support {
## spring
spring {
# auto proxy the DataSource bean
datasource.autoproxy = false
}
}
但是apollo貌似不支持這種類型的配置文件啊
把配置文件改成properties,內容也改成properties格式試試看
support.spring.datasource.autoproxy = false
發現可以了。好吧就這樣