java.lang.NoClassDefFoundError: javax/crypto/spec/PBEKeySpec

Pentaho BI Platform Tracking | Pan D | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    An unexpected error occurred in Spoon: javax/crypto/spec/PBEKeySpec java.lang.NoClassDefFoundError: javax/crypto/spec/PBEKeySpec at com.mongodb.DBPort$ScramSha1Authenticator$ScramSha1SaslClient.Hi(DBPort.java:822) at com.mongodb.DBPort$ScramSha1Authenticator$ScramSha1SaslClient.computeClientFinalMessage(DBPort.java:747) at com.mongodb.DBPort$ScramSha1Authenticator$ScramSha1SaslClient.evaluateChallenge(DBPort.java:681) at com.mongodb.DBPort$SaslAuthenticator.authenticate(DBPort.java:904) at com.mongodb.DBPort.authenticate(DBPort.java:432) at com.mongodb.DBPort.checkAuth(DBPort.java:443) at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:289) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:269) at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84) at com.mongodb.DB.command(DB.java:320) at com.mongodb.DB.command(DB.java:299) at com.mongodb.DB.command(DB.java:388) at com.mongodb.DBApiLayer.getCollectionNames(DBApiLayer.java:152) at org.pentaho.mongo.wrapper.NoAuthMongoClientWrapper.getCollectionsNames(NoAuthMongoClientWrapper.java:197) at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.setupCollectionNamesForDB(MongoDbInputDialog.java:1532) at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.access$600(MongoDbInputDialog.java:82) at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog$6.widgetSelected(MongoDbInputDialog.java:494) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.core.dialog.ShowMessageDialog.open(ShowMessageDialog.java:279) at org.pentaho.di.ui.core.dialog.PreviewRowsDialog.addFields(PreviewRowsDialog.java:294) at org.pentaho.di.ui.core.dialog.PreviewRowsDialog.open(PreviewRowsDialog.java:182) at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.preview(MongoDbInputDialog.java:1463) at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.access$1800(MongoDbInputDialog.java:82) at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog$17.handleEvent(MongoDbInputDialog.java:1035) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1339) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Have verified that jce.jar library is present in the JRE.

    Pentaho BI Platform Tracking | 1 year ago | Pan D
    java.lang.NoClassDefFoundError: javax/crypto/spec/PBEKeySpec
  2. 0

    An unexpected error occurred in Spoon: javax/crypto/spec/PBEKeySpec java.lang.NoClassDefFoundError: javax/crypto/spec/PBEKeySpec at com.mongodb.DBPort$ScramSha1Authenticator$ScramSha1SaslClient.Hi(DBPort.java:822) at com.mongodb.DBPort$ScramSha1Authenticator$ScramSha1SaslClient.computeClientFinalMessage(DBPort.java:747) at com.mongodb.DBPort$ScramSha1Authenticator$ScramSha1SaslClient.evaluateChallenge(DBPort.java:681) at com.mongodb.DBPort$SaslAuthenticator.authenticate(DBPort.java:904) at com.mongodb.DBPort.authenticate(DBPort.java:432) at com.mongodb.DBPort.checkAuth(DBPort.java:443) at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:289) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:269) at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84) at com.mongodb.DB.command(DB.java:320) at com.mongodb.DB.command(DB.java:299) at com.mongodb.DB.command(DB.java:388) at com.mongodb.DBApiLayer.getCollectionNames(DBApiLayer.java:152) at org.pentaho.mongo.wrapper.NoAuthMongoClientWrapper.getCollectionsNames(NoAuthMongoClientWrapper.java:197) at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.setupCollectionNamesForDB(MongoDbInputDialog.java:1532) at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.access$600(MongoDbInputDialog.java:82) at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog$6.widgetSelected(MongoDbInputDialog.java:494) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.core.dialog.ShowMessageDialog.open(ShowMessageDialog.java:279) at org.pentaho.di.ui.core.dialog.PreviewRowsDialog.addFields(PreviewRowsDialog.java:294) at org.pentaho.di.ui.core.dialog.PreviewRowsDialog.open(PreviewRowsDialog.java:182) at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.preview(MongoDbInputDialog.java:1463) at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.access$1800(MongoDbInputDialog.java:82) at org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog$17.handleEvent(MongoDbInputDialog.java:1035) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1339) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Have verified that jce.jar library is present in the JRE.

    Pentaho BI Platform Tracking | 1 year ago | Pan D
    java.lang.NoClassDefFoundError: javax/crypto/spec/PBEKeySpec
  3. 0

    MongoDB Version Upgrade

    pentaho.com | 1 year ago
    java.lang.NoClassDefFoundError: javax/crypto/spec/PBEKeySpec
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      javax/crypto/spec/PBEKeySpec

      at com.mongodb.DBPort$ScramSha1Authenticator$ScramSha1SaslClient.Hi()
    2. MongoDB Java Driver
      DBApiLayer.getCollectionNames
      1. com.mongodb.DBPort$ScramSha1Authenticator$ScramSha1SaslClient.Hi(DBPort.java:822)
      2. com.mongodb.DBPort$ScramSha1Authenticator$ScramSha1SaslClient.computeClientFinalMessage(DBPort.java:747)
      3. com.mongodb.DBPort$ScramSha1Authenticator$ScramSha1SaslClient.evaluateChallenge(DBPort.java:681)
      4. com.mongodb.DBPort$SaslAuthenticator.authenticate(DBPort.java:904)
      5. com.mongodb.DBPort.authenticate(DBPort.java:432)
      6. com.mongodb.DBPort.checkAuth(DBPort.java:443)
      7. com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:289)
      8. com.mongodb.DBTCPConnector.call(DBTCPConnector.java:269)
      9. com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84)
      10. com.mongodb.DB.command(DB.java:320)
      11. com.mongodb.DB.command(DB.java:299)
      12. com.mongodb.DB.command(DB.java:388)
      13. com.mongodb.DBApiLayer.getCollectionNames(DBApiLayer.java:152)
      13 frames
    3. org.pentaho.mongo
      NoAuthMongoClientWrapper.getCollectionsNames
      1. org.pentaho.mongo.wrapper.NoAuthMongoClientWrapper.getCollectionsNames(NoAuthMongoClientWrapper.java:197)
      1 frame
    4. org.pentaho.di
      MongoDbInputDialog$6.widgetSelected
      1. org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.setupCollectionNamesForDB(MongoDbInputDialog.java:1532)
      2. org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.access$600(MongoDbInputDialog.java:82)
      3. org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog$6.widgetSelected(MongoDbInputDialog.java:494)
      3 frames
    5. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      7. org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
      8. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      9. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      9 frames
    6. org.pentaho.di
      MongoDbInputDialog$17.handleEvent
      1. org.pentaho.di.ui.core.dialog.ShowMessageDialog.open(ShowMessageDialog.java:279)
      2. org.pentaho.di.ui.core.dialog.PreviewRowsDialog.addFields(PreviewRowsDialog.java:294)
      3. org.pentaho.di.ui.core.dialog.PreviewRowsDialog.open(PreviewRowsDialog.java:182)
      4. org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.preview(MongoDbInputDialog.java:1463)
      5. org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.access$1800(MongoDbInputDialog.java:82)
      6. org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog$17.handleEvent(MongoDbInputDialog.java:1035)
      6 frames
    7. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      2. org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      6. org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
      7. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      8. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      8 frames
    8. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1339)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653)
      4 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    10. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      1 frame