Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2008
    Posts
    1
    Rep Power
    0

    Default Uncaught exception java/lang/NoClassDefFoundError: org/bouncycastle/crypto/BlockCiphe

    Hello , Friends
    I m Dhiraj Karalkar ,Doing the application for the encryption and Decryption of the SMS by including the bouncycastle packages in my application and builded a path for these files of bouncycastle correctly , but I m getting the


    Uncaught exception java/lang/NoClassDefFoundError: bouncycastle/crypto/BlockCipher

    Please anyone help me out on this ....

    Thank you

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Post BlockCipher is an interface.

    See:
    BlockCipher (Bouncy Castle Library 1.38 API Specification)

    Block cipher engines are expected to conform to this interface.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  3. #3
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,406
    Rep Power
    25

    Default

    I assume this is a runtime error message that you get when you try to execute your program using the java command.
    Where is the class that the jvm can't find? Is that class on the classpath, perhaps in a jar file? If not, it needs to be.

    java -classpath <jarfile(s)>;. <main-program>

Similar Threads

  1. Replies: 2
    Last Post: 01-20-2014, 07:45 AM
  2. java.lang.NoClassDefFoundError
    By J_a_y in forum New To Java
    Replies: 2
    Last Post: 08-07-2007, 11:51 AM
  3. Replies: 1
    Last Post: 08-06-2007, 06:07 AM
  4. java.lang.NoClassDefFoundError
    By fred in forum Advanced Java
    Replies: 3
    Last Post: 08-01-2007, 05:00 PM
  5. Replies: 2
    Last Post: 08-01-2007, 05:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •