java.lang.NoClassDefFoundError: org/apache/log4j/Level

  1. 0

    Spark forcing log4j

    Stack Overflow | 1 year ago | Pengin
    java.lang.NoClassDefFoundError: org/apache/log4j/Level
  2. 0

    Hadoop环境搭建——单节点篇 - Java综合 - Java - ITeye论坛

    iteye.com | 1 year ago
    java.lang.NoClassDefFoundError: org/apache/log4j/Level
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Java Quartz Logging feature disable with source Code and not including Logging lib

    Stack Overflow | 1 year ago | Moh Tarvirdi
    java.lang.NoClassDefFoundError: org/apache/log4j/Level
  5. 0

    Accumulo init problem

    apache.org | 1 year ago
    java.lang.NoClassDefFoundError: org/apache/log4j/Level

  1. andyglick 2 times, last 2 days ago
  2. richard77 1 times, last 5 days ago
  3. musketyr 2 times, last 5 days ago
  4. michallos 2 times, last 5 days ago
  5. batwalrus76 2 times, last 6 days ago
67 more registered users
28 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.log4j.Level

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)[na:1.8.0_91]
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)[na:1.8.0_91]
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)[na:1.8.0_91]
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)[na:1.8.0_91]
    4 frames
  3. Hadoop
    JobConf.<clinit>
    1. org.apache.hadoop.mapred.JobConf.<clinit>(JobConf.java:357)[hadoop-mapreduce-client-core-2.7.1.jar:na]
    1 frame
  4. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)[na:1.8.0_91]
    2. java.lang.Class.forName(Class.java:348)[na:1.8.0_91]
    2 frames
  5. Hadoop
    Path.getFileSystem
    1. org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2134)[hadoop-common-2.7.1.jar:na]
    2. org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:95)[hadoop-common-2.7.1.jar:na]
    3. org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:78)[hadoop-common-2.7.1.jar:na]
    4. org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:136)[hadoop-common-2.7.1.jar:na]
    5. org.apache.hadoop.security.Groups.<init>(Groups.java:79)[hadoop-common-2.7.1.jar:na]
    6. org.apache.hadoop.security.Groups.<init>(Groups.java:74)[hadoop-common-2.7.1.jar:na]
    7. org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:303)[hadoop-common-2.7.1.jar:na]
    8. org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:283)[hadoop-common-2.7.1.jar:na]
    9. org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:260)[hadoop-common-2.7.1.jar:na]
    10. org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:790)[hadoop-common-2.7.1.jar:na]
    11. org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:760)[hadoop-common-2.7.1.jar:na]
    12. org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:633)[hadoop-common-2.7.1.jar:na]
    13. org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2812)[hadoop-common-2.7.1.jar:na]
    14. org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2802)[hadoop-common-2.7.1.jar:na]
    15. org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2668)[hadoop-common-2.7.1.jar:na]
    16. org.apache.hadoop.fs.FileSystem.get(FileSystem.java:371)[hadoop-common-2.7.1.jar:na]
    17. org.apache.hadoop.fs.FileSystem.get(FileSystem.java:170)[hadoop-common-2.7.1.jar:na]
    18. org.apache.hadoop.fs.FileSystem.get(FileSystem.java:355)[hadoop-common-2.7.1.jar:na]
    19. org.apache.hadoop.fs.Path.getFileSystem(Path.java:295)[hadoop-common-2.7.1.jar:na]
    19 frames
  6. Spring for Apache Hadoop Store Features
    LifecycleObjectSupport.afterPropertiesSet
    1. org.springframework.data.hadoop.store.support.OutputStoreObjectSupport.findInitFiles(OutputStoreObjectSupport.java:110)[spring-data-hadoop-store-2.3.0.RELEASE.jar:2.3.0.RELEASE]
    2. org.springframework.data.hadoop.store.support.OutputStoreObjectSupport.initOutputContext(OutputStoreObjectSupport.java:93)[spring-data-hadoop-store-2.3.0.RELEASE.jar:2.3.0.RELEASE]
    3. org.springframework.data.hadoop.store.support.OutputStoreObjectSupport.onInit(OutputStoreObjectSupport.java:83)[spring-data-hadoop-store-2.3.0.RELEASE.jar:2.3.0.RELEASE]
    4. org.springframework.data.hadoop.store.support.LifecycleObjectSupport.afterPropertiesSet(LifecycleObjectSupport.java:67)[spring-data-hadoop-store-2.3.0.RELEASE.jar:2.3.0.RELEASE]
    4 frames
  7. Spring Beans
    AbstractAutowireCapableBeanFactory.initializeBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2 frames