从GitHub上下载的资源包 flume-ng-sql-source-1.5.2.tar.gz
ive:/usr/local/hadoop/lib/native org.apache.flume.node.Application -f job/mysql-flume-kafka1.conf -n a1
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
应该是没有导入相关依赖
打开你这个报错中提到的链接,里面有说解决方案
This warning message is reported when the org.slf4j.impl.StaticLoggerBinder class could not be loaded into memory. This happens when no appropriate SLF4J binding could be found on the class path. Placing one (and only one) of slf4j-nop.jar slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar on the class path should solve the problem.
意思就是slf4j-nop.jar slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar 这几个文件,只要放其中任意一个(只能有一个)到类的路径里就行了