java.lang.IllegalAccessError: tried to access method org.apache.logging.log4j.core.lookup.MapLookup.newMap(I)Ljava/util/HashMap; from class org.apache.logging.log4j.core.lookup.MainMapLookup

Stack Overflow | Bhaskar | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Exception in thread "main" java.lang.IllegalAccessError: in storm topology

    Stack Overflow | 1 year ago | Bhaskar
    java.lang.IllegalAccessError: tried to access method org.apache.logging.log4j.core.lookup.MapLookup.newMap(I)Ljava/util/HashMap; from class org.apache.logging.log4j.core.lookup.MainMapLookup

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access method org.apache.logging.log4j.core.lookup.MapLookup.newMap(I)Ljava/util/HashMap; from class org.apache.logging.log4j.core.lookup.MainMapLookup

      at org.apache.logging.log4j.core.lookup.MainMapLookup.<clinit>()
    2. Apache Log4j Core
      MainMapLookup.<clinit>
      1. org.apache.logging.log4j.core.lookup.MainMapLookup.<clinit>(MainMapLookup.java:37)
      1 frame
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames
    4. Apache Log4j Core
      Log4jContextFactory.getContext
      1. org.apache.logging.log4j.core.util.ReflectionUtil.instantiate(ReflectionUtil.java:185)
      2. org.apache.logging.log4j.core.lookup.Interpolator.<init>(Interpolator.java:65)
      3. org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:346)
      4. org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:161)
      5. org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:359)
      6. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:420)
      7. org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:138)
      8. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:147)
      9. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41)
      9 frames
    5. Apache Log4j API
      AbstractLoggerAdapter.getContext
      1. org.apache.logging.log4j.LogManager.getContext(LogManager.java:175)
      2. org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:102)
      2 frames
    6. Apache Log4j SLF4J Binding
      Log4jLoggerFactory.getContext
      1. org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43)
      1 frame
    7. Apache Log4j API
      AbstractLoggerAdapter.getLogger
      1. org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42)
      1 frame
    8. Apache Log4j SLF4J Binding
      Log4jLoggerFactory.getLogger
      1. org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)
      1 frame
    9. SLF4J API Module
      LoggerFactory.getLogger
      1. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277)
      2. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)
      2 frames
    10. org.apache.storm
      DelimitedRecordHiveMapper.<clinit>
      1. org.apache.storm.hive.bolt.mapper.DelimitedRecordHiveMapper.<clinit>(DelimitedRecordHiveMapper.java:39)
      1 frame
    11. com.macys.smt
      HiveORCTopology.run
      1. com.macys.smt.apm.storm.topology.HiveORCTopology.run(HiveORCTopology.java:79)
      1 frame