Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    A few things cause this exception:
    1) Check if you have all jars and if they're in the correct path.
    2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

  2. ,

    you can change your scala version to 2.11.11

java.lang.NoClassDefFoundError: android/util/Log at org.slf4j.impl.AndroidLoggerAdapter.isLoggable(AndroidLoggerAdapter.java:544) at org.slf4j.impl.AndroidLoggerAdapter.formatAndLog(AndroidLoggerAdapter.java:531) at org.slf4j.impl.AndroidLoggerAdapter.info(AndroidLoggerAdapter.java:299) at com.github.sarxos.webcam.Webcam.getDriver(Webcam.java:971) at com.github.sarxos.webcam.Webcam.getDiscoveryService(Webcam.java:1156) at com.github.sarxos.webcam.Webcam.getWebcams(Webcam.java:812) at com.github.sarxos.webcam.Webcam.getDefault(Webcam.java:879) at com.github.sarxos.webcam.Webcam.getDefault(Webcam.java:856) at com.github.sarxos.webcam.Webcam.getDefault(Webcam.java:834) at javaapplication9.TakePictureExample.main(TakePictureExample.java:36)Caused by: java.lang.ClassNotFoundException: android.util.Log at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 10 more