java.lang.NoClassDefFoundError: Failed resolution of: Lorg/spongycastle/jce/provider/BouncyCastleProvider; at com.project.CustomApplication.<clinit>(:44)

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

,
via github.io by Unknown author

You need to setup a GlideModule before use Glide.

,

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.

Solutions on the web

via sc0713.com by Unknown author, 1 year ago
Failed resolution of: Lorg/spongycastle/jce/provider/BouncyCastleProvider; at com.project.CustomApplication.<clinit>(:44)
via Stack Overflow by Aegis
, 1 year ago
Failed resolution of: Lorg/spongycastle/jce/provider/BouncyCastleProvider; at com.project.CustomApplication.<clinit>(:44)
via chip.de by Unknown author, 1 year ago
Could not initialize class org.eclipse.ui.internal.themes.LightColorFactory at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Unknown Source)
via giantitp.com by Unknown author, 1 year ago
codechicken/lib/asm/ASMInit at codechicken.nei.asm.NEICorePlugin.<init>(NEICorePl ugin.java:18) at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Unknown Source)
via Google Groups by Unknown author, 1 year ago
Could not initialize class org.xnio.nio.NioXnioProvider* at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
via Stack Overflow by user2125722
, 2 years ago
Failed resolution of: Lcom/google/android/gms/maps/model/LatLng; at com.example.sahayog.MainActivity.&lt;clinit&gt;(MainActivity.java:16)
java.lang.ClassNotFoundException: Didn't find class "org.spongycastle.jce.provider.BouncyCastleProvider" on path: DexPathList[[zip file "/data/app/com.project.fr-1/base.apk"],nativeLibraryDirectories=[/data/app/com.project.fr-1/lib/arm, /vendor/lib, /system/lib]]
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 java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.Class.newInstance(Class.java:1572)
at android.app.Instrumentation.newApplication(Instrumentation.java:994)
at android.app.Instrumentation.newApplication(Instrumentation.java:979)
at android.app.LoadedApk.makeApplication(LoadedApk.java:558)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4491)
at android.app.ActivityThread.access$1500(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)

Users with the same issue

39 times, 1 month ago
Once, 2 months ago
17699 times, 3 months ago
9 times, 3 months ago
2 times, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.