开发者社区> 问答> 正文

canal1.1.4版本启动错误哦

lassic.LoggerContext] Reported exception: ch.qos.logback.core.LogbackException: Unexpected filename extension of file [file:/C:/defineserver/canal_server/canal.deployer-1.1.4/conf/]. Should be either .groovy or .xml at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:79) at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:152) at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85) at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:55) at org.slf4j.LoggerFactory.bind(LoggerFactory.java:141) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:120) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:331) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:283) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:304) at com.alibaba.otter.canal.deployer.CanalLauncher.(CanalLauncher.java:29)

window环境下启动报这个错误

原提问者GitHub用户1120025919

展开
收起
Java工程师 2023-05-03 12:19:50 190 0
1 条回答
写回答
取消 提交回答
  • startup.cmd文件中 set logback_configurationFile=%conf_dir%\logback.xml 这一句被注释掉了,放开就好了。

    原回答者GitHub用户xuebinwang

    2023-05-04 15:54:31
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载