java.lang.NoClassDefFoundError: android/util/Log

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

    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

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