解决Failed to instantiate SLF4J LoggerFactory Reported exception

spark直接启动如果报错

Failed to instantiate SLF4J LoggerFactory
Reported exception:
java.lang.NoClassDefFoundError: org/apache/log4j/Level
	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:143)
	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:122)
	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:378)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:328)
	at akka.event.slf4j.Logger$.apply(Slf4jLogger.scala:30)

在配置中勾选解决
解决Failed to instantiate SLF4J LoggerFactory Reported exception_第1张图片

你可能感兴趣的:(解决Failed to instantiate SLF4J LoggerFactory Reported exception)