java.lang.NoClassDefFoundError

javax/crypto/BadPaddingException

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10

  • via GitHub by Artillect
    ,
  • via Stack Overflow by K_K
    ,
  • Stack trace

    • java.lang.NoClassDefFoundError: javax/crypto/BadPaddingException at sun.security.rsa.RSASignature.engineVerify(Unknown Source) at java.security.Signature$Delegate.engineVerify(Unknown Source) at java.security.Signature.verify(Unknown Source) at sun.security.pkcs.SignerInfo.verify(Unknown Source) at sun.security.pkcs.PKCS7.verify(Unknown Source) at sun.security.pkcs.PKCS7.verify(Unknown Source) at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source) at sun.security.util.SignatureFileVerifier.process(Unknown Source) at java.util.jar.JarVerifier.processEntry(Unknown Source) at java.util.jar.JarVerifier.update(Unknown Source) at java.util.jar.JarFile.initializeVerifier(Unknown Source) at java.util.jar.JarFile.getInputStream(Unknown Source) at sun.misc.URLClassPath$JarLoader$2.getInputStream(Unknown Source) at sun.misc.Resource.cachedInputStream(Unknown Source) at sun.misc.Resource.getByteBuffer(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.security.jca.ProviderConfig$2.run(Unknown Source) at sun.security.jca.ProviderConfig$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.security.jca.ProviderConfig.doLoadProvider(Unknown Source) at sun.security.jca.ProviderConfig.getProvider(Unknown Source) at sun.security.jca.ProviderList.getProvider(Unknown Source) at sun.security.jca.ProviderList.getService(Unknown Source) at sun.security.jca.GetInstance.getInstance(Unknown Source) at javax.net.ssl.SSLContext.getInstance(Unknown Source) at javax.net.ssl.SSLContext.getDefault(Unknown Source) at javax.net.ssl.SSLSocketFactory.getDefault(Unknown Source) at javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(Unknown Source) at javax.net.ssl.HttpsURLConnection.<init>(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.<init>(Unknown Source) at sun.net.www.protocol.https.Handler.openConnection(Unknown Source) at sun.net.www.protocol.https.Handler.openConnection(Unknown Source) at java.net.URL.openConnection(Unknown Source) at java.net.URL.openStream(Unknown Source) at amidst.mojangapi.file.URIUtils.newInputStream(URIUtils.java:84) at amidst.mojangapi.file.URIUtils.newReader(URIUtils.java:43) at amidst.mojangapi.file.URIUtils.newReader(URIUtils.java:39) at amidst.mojangapi.file.json.JsonReader.readRemoteVersionList(JsonReader.java:73) at amidst.mojangapi.file.json.JsonReader.readRemoteOrLocalVersionList(JsonReader.java:44) at amidst.mojangapi.MojangApi.getVersionList(MojangApi.java:56) at amidst.mojangapi.file.json.launcherprofiles.LauncherProfileJson.createValidVersionDirectory(LauncherProfileJson.java:68) at amidst.gui.profileselect.LocalProfileComponent.tryFind(LocalProfileComponent.java:56) at amidst.threading.WorkerExecutor.lambda$run$11(WorkerExecutor.java:71) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    rprp
    Once,