开发者社区> 问答> 正文

windows 报错 Unexpected filename extension of file

start cmd : java -Xms128m -Xmx512m -XX:PermSize=128m -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dapplication.codeset=UTF-8 -Dfile.encoding=UTF-8 -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=9099,server=y,suspend=n -DappName=otter-canal -Dlogback.configurationFile="" -Dcanal.conf="C:\Users\Administrator\Desktop\canal.deployer-1.1.4\bin..\conf\canal.properties" -classpath "C:\Users\Administrator\Desktop\canal.deployer-1.1.4\bin..\conf..\lib*;C:\Users\Administrator\Desktop\canal.deployer-1.1.4\bin..\conf" java -Xms128m -Xmx512m -XX:PermSize=128m -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dapplication.codeset=UTF-8 -Dfile.encoding=UTF-8 -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=9099,server=y,suspend=n -DappName=otter-canal -Dlogback.configurationFile="" -Dcanal.conf="C:\Users\Administrator\Desktop\canal.deployer-1.1.4\bin..\conf\canal.properties" -classpath "C:\Users\Administrator\Desktop\canal.deployer-1.1.4\bin..\conf..\lib*;C:\Users\Administrator\Desktop\canal.deployer-1.1.4\bin..\conf" com.alibaba.otter.canal.deployer.CanalLauncher Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0 Listening for transport dt_socket at address: 9099 Failed to instantiate [ch.qos.logback.classic.LoggerContext] Reported exception: ch.qos.logback.core.LogbackException: Unexpected filename extension of file [file:/C:/Users/Administrator/Desktop/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)

原提问者GitHub用户CXW0504

展开
收起
Java工程师 2023-05-03 16:23:31 191 0
1 条回答
写回答
取消 提交回答
  • 主干代码已经修复

    原回答者GitHub用户agapple

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

相关电子书

更多
《云服务器运维之Windows篇》 立即下载
TAKING WINDOWS 10 KERNEL 立即下载
ECS运维指南之Windows系统诊断 立即下载