java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup

Stack Overflow | mr nooby noob | 3 months ago
  1. 0

    JMX runtime input lookup class is not available because this JRE does not support JMX

    Stack Overflow | 3 months ago | mr nooby noob
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup
  2. 0

    GitHub comment 1852#150709085

    GitHub | 1 year ago | milimetric
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup
  3. 0

    JNDI and JMX lookup warnings when building connector. - MuleSoft

    mulesoft.com | 3 months ago
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Transitive log4j2 dependency - configuration failing

    Stack Overflow | 2 years ago | Juan Martin Desimoni
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup
  6. 0

    Need help: Druid - Quick Start : index_hadoop_wikipedia: Fails with no file found error

    Google Groups | 2 months ago | Sayantan Raha
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JndiLookup to org.apache.logging.log4j.core.lookup.StrLookup

  1. Steven 1 times, last 6 months ago
  2. filpgame 11 times, last 2 weeks ago
  3. kid 11 times, last 4 weeks ago
  4. iridic 3 times, last 1 month ago
  5. kid 53 times, last 2 months ago
1 more registered users
18 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.ClassCastException

    Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup

    at java.lang.Class.cast()
  2. Java RT
    Class.cast
    1. java.lang.Class.cast(Unknown Source)
    1 frame
  3. Apache Log4j API
    LoaderUtil.newCheckedInstanceOf
    1. org.apache.logging.log4j.util.LoaderUtil.newCheckedInstanceOf(LoaderUtil.java:168)
    1 frame
  4. Apache Log4j Core
    ConsoleAppender.newBuilder
    1. org.apache.logging.log4j.core.util.Loader.newCheckedInstanceOf(Loader.java:301)
    2. org.apache.logging.log4j.core.lookup.Interpolator.<init>(Interpolator.java:106)
    3. org.apache.logging.log4j.core.config.AbstractConfiguration.<init>(AbstractConfiguration.java:116)
    4. org.apache.logging.log4j.core.config.DefaultConfiguration.<init>(DefaultConfiguration.java:46)
    5. org.apache.logging.log4j.core.layout.PatternLayout$Builder.build(PatternLayout.java:492)
    6. org.apache.logging.log4j.core.layout.PatternLayout.createDefaultLayout(PatternLayout.java:376)
    7. org.apache.logging.log4j.core.appender.ConsoleAppender$Builder.<init>(ConsoleAppender.java:168)
    8. org.apache.logging.log4j.core.appender.ConsoleAppender.newBuilder(ConsoleAppender.java:160)
    8 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  6. Apache Log4j Core
    Log4jContextFactory.getContext
    1. org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.createBuilder(PluginBuilder.java:152)
    2. org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:119)
    3. org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:918)
    4. org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:858)
    5. org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:850)
    6. org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:479)
    7. org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:219)
    8. org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:231)
    9. org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:496)
    10. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:566)
    11. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:582)
    12. org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:217)
    13. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
    14. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
    14 frames
  7. Apache Log4j API
    LogManager.getContext
    1. org.apache.logging.log4j.LogManager.getContext(LogManager.java:307)
    1 frame
  8. Apache Log4j
    Logger.getLogger
    1. org.apache.log4j.Logger$PrivateManager.getContext(Logger.java:59)
    2. org.apache.log4j.Logger.getLogger(Logger.java:37)
    2 frames
  9. Apache Commons Logging
    Log4JLogger.<init>
    1. org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289)
    2. org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:109)
    2 frames
  10. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  11. Apache Commons Logging
    LogFactory.getLog
    1. org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116)
    2. org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914)
    3. org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
    4. org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
    5. org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
    6. org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
    6 frames
  12. GWT dev
    JspServlet.<clinit>
    1. org.apache.jasper.servlet.JspServlet.<clinit>(JspServlet.java:58)
    1 frame
  13. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    5. java.lang.Class.newInstance(Unknown Source)
    5 frames
  14. Jetty Server
    ServletHolder.doStart
    1. org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
    2. org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:428)
    3. org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
    3 frames
  15. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  16. Jetty Server
    WebAppContext.doStart
    1. org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:736)
    2. org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
    3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
    4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
    5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
    5 frames
  17. GWT dev
    JettyLauncher$WebAppContextWithReload.doStart
    1. com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:468)
    1 frame
  18. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  19. Jetty Server
    RequestLogHandler.doStart
    1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    2. org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)
    2 frames
  20. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  21. Jetty Server
    Server.doStart
    1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    2. org.mortbay.jetty.Server.doStart(Server.java:224)
    2 frames
  22. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  23. GWT dev
    DevModeBase.run
    1. com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:672)
    2. com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
    3. com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)
    4. com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)
    4 frames