java.lang.NoClassDefFoundError: android/util/Log

Coderanch | Isaac Ferguson | 1 year ago
  1. 0

    Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

    Coderanch | 1 year ago | Isaac Ferguson
    java.lang.NoClassDefFoundError: android/util/Log
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. archenroot 1 times, last 2 weeks ago
  2. tyson925 5 times, last 2 weeks ago
  3. tzrlk 1 times, last 2 weeks ago
  4. musketyr 1 times, last 3 weeks ago
  5. kjhdofjosvs 3 times, last 3 weeks ago
63 more registered users
32 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

    android.util.Log

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4 frames
  3. SLF4J LOG4J-12 Binding
    AndroidLoggerAdapter.info
    1. org.slf4j.impl.AndroidLoggerAdapter.isLoggable(AndroidLoggerAdapter.java:544)
    2. org.slf4j.impl.AndroidLoggerAdapter.formatAndLog(AndroidLoggerAdapter.java:531)
    3. org.slf4j.impl.AndroidLoggerAdapter.info(AndroidLoggerAdapter.java:299)
    3 frames
  4. Webcam Capture
    Webcam.getDefault
    1. com.github.sarxos.webcam.Webcam.getDriver(Webcam.java:971)
    2. com.github.sarxos.webcam.Webcam.getDiscoveryService(Webcam.java:1156)
    3. com.github.sarxos.webcam.Webcam.getWebcams(Webcam.java:812)
    4. com.github.sarxos.webcam.Webcam.getDefault(Webcam.java:879)
    5. com.github.sarxos.webcam.Webcam.getDefault(Webcam.java:856)
    6. com.github.sarxos.webcam.Webcam.getDefault(Webcam.java:834)
    6 frames
  5. javaapplication9
    TakePictureExample.main
    1. javaapplication9.TakePictureExample.main(TakePictureExample.java:36)
    1 frame