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

salesforce.com | 7 months 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.

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    org/apache/log4j/Logger

    at com.salesforce.ide.core.ForceIdeCorePlugin.<clinit>()
  2. com.salesforce.ide
    ForceIdeCorePlugin.<clinit>
    1. com.salesforce.ide.core.ForceIdeCorePlugin.<clinit>(ForceIdeCorePlugin.java:30)
    1 frame
  3. 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.newInstance0(Unknown Source)
    6. java.lang.Class.newInstance(Unknown Source)
    6 frames
  4. Eclipse OSGi
    AbstractBundle.start
    1. org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:136)
    2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
    3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
    4. org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
    4 frames
  5. Eclipse OSGi
    EclipseLazyStarter.postFindLocalClass
    1. org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
    2. org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
    2 frames
  6. Eclipse OSGi
    DefaultClassLoader.loadClass
    1. org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
    2. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
    3. org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
    4. org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
    5. org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
    6. org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
    7. org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
    8. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
    8 frames
  7. Java RT
    Class.newInstance
    1. java.lang.ClassLoader.loadClass(Unknown Source)
    2. java.lang.ClassLoader.loadClassInternal(Unknown Source)
    3. java.lang.Class.getDeclaredConstructors0(Native Method)
    4. java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    5. java.lang.Class.getConstructor0(Unknown Source)
    6. java.lang.Class.newInstance0(Unknown Source)
    7. java.lang.Class.newInstance(Unknown Source)
    7 frames
  8. Eclipse OSGi
    AbstractBundle.start
    1. org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:136)
    2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
    3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
    4. org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
    4 frames
  9. Eclipse OSGi
    EclipseLazyStarter.postFindLocalClass
    1. org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
    2. org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
    2 frames
  10. Eclipse OSGi
    DefaultClassLoader.loadClass
    1. org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
    2. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
    3. org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
    4. org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
    5. org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
    6. org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
    7. org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
    8. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
    8 frames
  11. Java RT
    ClassLoader.loadClassInternal
    1. java.lang.ClassLoader.loadClass(Unknown Source)
    2. java.lang.ClassLoader.loadClassInternal(Unknown Source)
    2 frames
  12. com.salesforce.ide
    IntroStartup.earlyStartup
    1. com.salesforce.ide.ui.editors.intro.browser.IntroStartup.earlyStartup(IntroStartup.java:44)
    1 frame
  13. Eclipse UI
    EarlyStartupRunnable.run
    1. org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
    2. org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
    2 frames
  14. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    1 frame
  15. Eclipse UI
    Workbench$54.run
    1. org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190)
    1 frame
  16. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    1 frame