java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

SpringSource Issue Tracker | Adrian Sampaleanu | 8 years ago
  1. 0

    When a change is made to template.mf there is an exception thrown. This happens with both the automatically invoked updating of the manifest or when manually triggering it. This functionality was working in DM Server Tools 1.1.3.M1 for me. The exception is: eclipse.buildId=M20090211-1700 java.version=1.6.0_12 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA Framework arguments: -showlocation Command-line arguments: -os win32 -ws win32 -arch x86 -debug -console -consolelog -clean -showlocation Error Thu Apr 16 09:47:49 EDT 2009 Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.springframework.core.io.support.PropertiesLoaderSupport.<init>(PropertiesLoaderSupport.java:46) at com.springsource.bundlor.support.StandardPropertiesSource.<init>(StandardPropertiesSource.java:38) at com.springsource.server.ide.bundlor.internal.core.BundlorProjectBuilder.createPropertiesSource(BundlorProjectBuilder.java:217) at com.springsource.server.ide.bundlor.internal.core.BundlorProjectBuilder.build(BundlorProjectBuilder.java:168) at com.springsource.server.ide.bundlor.internal.core.BundlorProjectBuilder.build(BundlorProjectBuilder.java:113) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:280) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:361) at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:516) at org.eclipse.core.internal.resources.Project.build(Project.java:102) at com.springsource.server.ide.bundlor.ui.BundlorUiPlugin$RunBundlorJob.run(BundlorUiPlugin.java:114) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) I'm not sure why this exception happens as the Spring provided commons logging bundle is resolved properly. I tried adding this bundle to the framework classpath in Eclipse's config.ini, but this didn't help. The same problems happens on other developers' machines, so it is not unique to my environment.

    SpringSource Issue Tracker | 8 years ago | Adrian Sampaleanu
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
  2. 0

    When a change is made to template.mf there is an exception thrown. This happens with both the automatically invoked updating of the manifest or when manually triggering it. This functionality was working in DM Server Tools 1.1.3.M1 for me. The exception is: eclipse.buildId=M20090211-1700 java.version=1.6.0_12 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA Framework arguments: -showlocation Command-line arguments: -os win32 -ws win32 -arch x86 -debug -console -consolelog -clean -showlocation Error Thu Apr 16 09:47:49 EDT 2009 Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.springframework.core.io.support.PropertiesLoaderSupport.<init>(PropertiesLoaderSupport.java:46) at com.springsource.bundlor.support.StandardPropertiesSource.<init>(StandardPropertiesSource.java:38) at com.springsource.server.ide.bundlor.internal.core.BundlorProjectBuilder.createPropertiesSource(BundlorProjectBuilder.java:217) at com.springsource.server.ide.bundlor.internal.core.BundlorProjectBuilder.build(BundlorProjectBuilder.java:168) at com.springsource.server.ide.bundlor.internal.core.BundlorProjectBuilder.build(BundlorProjectBuilder.java:113) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:280) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:361) at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:516) at org.eclipse.core.internal.resources.Project.build(Project.java:102) at com.springsource.server.ide.bundlor.ui.BundlorUiPlugin$RunBundlorJob.run(BundlorUiPlugin.java:114) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) I'm not sure why this exception happens as the Spring provided commons logging bundle is resolved properly. I tried adding this bundle to the framework classpath in Eclipse's config.ini, but this didn't help. The same problems happens on other developers' machines, so it is not unique to my environment.

    SpringSource Issue Tracker | 8 years ago | Adrian Sampaleanu
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
  3. 0

    Solving Common Problems

    directwebremoting.org | 2 months ago
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate Community • View topic - Initial SessionFactory creation failed

    hibernate.org | 3 months ago
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
  6. 0

    idiomatic clojure of this java style ?

    Google Groups | 7 years ago | gary
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

    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.NoClassDefFoundError

      org/apache/commons/logging/LogFactory

      at org.springframework.core.io.support.PropertiesLoaderSupport.<init>()
    2. Spring Core
      PropertiesLoaderSupport.<init>
      1. org.springframework.core.io.support.PropertiesLoaderSupport.<init>(PropertiesLoaderSupport.java:46)
      1 frame
    3. com.springsource.bundlor
      StandardPropertiesSource.<init>
      1. com.springsource.bundlor.support.StandardPropertiesSource.<init>(StandardPropertiesSource.java:38)
      1 frame
    4. com.springsource.server
      BundlorProjectBuilder.build
      1. com.springsource.server.ide.bundlor.internal.core.BundlorProjectBuilder.createPropertiesSource(BundlorProjectBuilder.java:217)
      2. com.springsource.server.ide.bundlor.internal.core.BundlorProjectBuilder.build(BundlorProjectBuilder.java:168)
      3. com.springsource.server.ide.bundlor.internal.core.BundlorProjectBuilder.build(BundlorProjectBuilder.java:113)
      3 frames
    5. Core Resource Management
      BuildManager$2.run
      1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
      1 frame
    6. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      1 frame
    7. Core Resource Management
      Project.build
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
      2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:280)
      3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:361)
      4. org.eclipse.core.internal.resources.Project.internalBuild(Project.java:516)
      5. org.eclipse.core.internal.resources.Project.build(Project.java:102)
      5 frames
    8. com.springsource.server
      BundlorUiPlugin$RunBundlorJob.run
      1. com.springsource.server.ide.bundlor.ui.BundlorUiPlugin$RunBundlorJob.run(BundlorUiPlugin.java:114)
      1 frame
    9. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame