flume failed to start agent because dependencies were not found in classpath

FLUME_CLASSPATH=/root/flume/lib/

copied comon jar files from hadoop folder to the flume folder.

cp /root/hadoop/share/hadoop/common/*.jar /root/flume/lib

cp /root/hadoop/share/hadoop/common/lib/*.jar /root/flume/lib

原文地址:https://www.cnblogs.com/Jesse-Li/p/7725525.html