java.lang.ExceptionInInitializerError

mkyong.com | 1 month ago
  1. 0

    db:: 4.08::org.apache.commons.collections_3.1.jar af

    hivmr.com | 6 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

    How to avoid getting java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

    Stack Overflow | 3 years ago | Husain Sanwerwala
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
  4. 0

    Spring project getting exceptions

    Stack Overflow | 4 years ago | Raji A C
    java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory

    12 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.ClassNotFoundException

      org.apache.commons.logging.LogFactory

      at java.net.URLClassLoader$1.run()
    2. Java RT
      ClassLoader.loadClassInternal
      1. java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      2. java.security.AccessController.doPrivileged(Native Method)
      3. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      4. java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      6. java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      7. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      7 frames
    3. Hibernate
      Configuration.<clinit>
      1. org.hibernate.cfg.Configuration.<clinit>(Configuration.java:120)
      1 frame
    4. com.mkyong.persistence
      HibernateUtil.<clinit>
      1. com.mkyong.persistence.HibernateUtil.buildSessionFactory(HibernateUtil.java:13)
      2. com.mkyong.persistence.HibernateUtil.<clinit>(HibernateUtil.java:8)
      2 frames
    5. com.mkyong.common
      App.main
      1. com.mkyong.common.App.main(App.java:17)
      1 frame