Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-06-20 16:56:11.435 [main] ERROR o.s.boot.diagnostics.LoggingFailureAnalysisReporter -
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to bind properties under 'canal.conf' to com.alibaba.otter.canal.adapter.launcher.config.AdapterCanalConfig:
Reason: Unable to set value for property src-data-sources
Action:
Update your application's configuration
现象:每次重启canal-adapter后其配置文件application.yml的内容就会被canal-deployer下的canal.properity文件内容覆盖,所以每次报错Failed to bind properties under 'canal.conf'
canal_manage库有脏数据导致,重新导入这个库解决。(亲测解决)