1.Add external dependencies.
2.use slf4j instead of log4j.

Signed-off-by: Alanmars <wangping0214@126.com>