Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2008, 07:56 AM
Member
 
Join Date: Jul 2008
Posts: 1
Rep Power: 0
Dhiraj.karalkar is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 07-13-2008, 05:33 PM
Nicholas Jordan's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Southwest
Posts: 1,018
Rep Power: 3
Nicholas Jordan is on a distinguished road
Post BlockCipher is an interface.
See:
BlockCipher (Bouncy Castle Library 1.38 API Specification)

Block cipher engines are expected to conform to this interface.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-13-2008, 05:46 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
Rep Power: 4
Norm is on a distinguished road
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>
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
java.lang.NoClassDefFoundError J_a_y New To Java 2 08-07-2007 11:51 AM
Exception in thread "main" java.lang.NoClassDefFoundError baltimore New To Java 1 08-06-2007 06:07 AM
java.lang.NoClassDefFoundError fred Advanced Java 3 08-01-2007 05:00 PM
Exception in thread "main" java.lang.NoClassDefFoundError carl New To Java 2 08-01-2007 05:26 AM
java.lang.NoClassDefFoundError Exception when I invoke to a class outside projectEJB Daniel Enterprise JavaBeans 1 07-06-2007 06:08 AM


All times are GMT +2. The time now is 10:06 PM.



VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org