java.lang.NoClassDefFoundError: org.spongycastle.jce.provider.BouncyCastleProvider

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by KReguieg
, 1 year ago
org.spongycastle.jce.provider.BouncyCastleProvider
java.lang.NoClassDefFoundError: org.spongycastle.jce.provider.BouncyCastleProvider
at org.jmrtd.JMRTDSecurityProvider.(JMRTDSecurityProvider.java:72)
at org.jmrtd.PassportApduService.(PassportApduService.java:118)
at org.jmrtd.PassportService.(PassportService.java:234)
at com.passport.passportid.ReadPassportActivity$AsyncPassportCreate.doInBackground(ReadPassportActivity.java:356)
at com.passport.passportid.ReadPassportActivity$AsyncPassportCreate.doInBackground(ReadPassportActivity.java:345)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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