java.lang.NoClassDefFoundError: Failed resolution of: Ljava/nio/file/Path;
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
A required library class, SdkReceiver, is not loaded. Make sure your SDK classpath is configured correctly in the environment variable or use the -cp or -classpath option if running on the command line, to point to your SDK jar files.
You need to setup a GlideModule before use Glide.
Solutions on the web
via GitHub by kirillzh
, 1 year agojava.lang.ClassNotFoundException: Didn't find class "java.nio.file.Path" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/com.example.test-2/base.apk", zip file "/data/app/com.example-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.test-2/lib/x86_64, /data/app/com.example-1/lib/x86_64, /vendor/lib64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at ru.qatools.properties.converters.ConverterManager.registerDefaults(ConverterManager.java:63)
at ru.qatools.properties.converters.ConverterManager.
(ConverterManager.java:42) at ru.qatools.properties.converters.ConverterManager.
(ConverterManager.java:34) at ru.qatools.properties.PropertyLoader.
(PropertyLoader.java:40) at ru.qatools.properties.PropertyLoader.newInstance(PropertyLoader.java:408)
at ru.yandex.qatools.allure.Allure.
(Allure.java:57) at ru.yandex.qatools.allure.Allure.
(Allure.java:37) at ru.yandex.qatools.allure.junit.AllureRunListener.
(AllureRunListener.java:31) at com.example.AllureTestRunner.run(AllureTestRunner.java:37)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
at android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:262)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1879)