Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory	at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:118)	at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:369)	at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:416)	at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:146)	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:75)	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:37)	at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:473)	at com.torointl.log4j2xtest.MyActivity.onCreate(MyActivity.java:28)	at android.app.Activity.performCreate(Activity.java:5231)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)	at android.app.ActivityThread.access$800(ActivityThread.java:135)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:136)	at android.app.ActivityThread.main(ActivityThread.java:5017)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:515)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)	at dalvik.system.NativeStart.main(Native Method)