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

Spring JIRA | Robert Glover | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Eclipse Community Forums: Virgo ┬╗ greenpages failing unit tests

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

    Automated exception search integrated into your IDE

  3. 0

    Anyone else having issues with selenium-java 2.53.0?

    Google Groups | 1 year ago | S├ębastien Bouffard
    java.lang.NoClassDefFoundError: Could not initialize class > net.thucydides.core.webdriver.SupportedWebDriver at > net.serenitybdd.junit.runners.SerenityRunner.checkRequestedDriverType(SerenityRunner.java:208) at > net.serenitybdd.junit.runners.SerenityRunner.<init>(SerenityRunner.java:167) at > net.serenitybdd.junit.runners.SerenityRunner.<init>(SerenityRunner.java:112) at > net.serenitybdd.junit.runners.SerenityRunner.<init>(SerenityRunner.java:96)
  4. 0

    HibernatePersistence class not found exception with JPA + Hibernate + OSGI

    Stack Overflow | 2 years ago | user1926519
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter#53308cd' defined in OSGi resource[classpath:/spring/gdl-commons-db-jpa-context.xml|bnd.id=177|bnd.sym=gdl-open-domain]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/hibernate/ejb/HibernatePersistence

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

      org/apache/commons/logging/LogFactory

      at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.<clinit>()
    2. Spring TestContext
      SpringJUnit4ClassRunner.<clinit>
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.<clinit>(SpringJUnit4ClassRunner.java:62)
      1 frame
    3. Java RT
      NativeConstructorAccessorImpl.newInstance0
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      1 frame