缺少slf4j-api.jar和slf4j-log4j12.jar这两个jar包导致的错误。 转载于:https://www.cnblogs.com/liupuLearning/p/6347585.html