aspose file tools
The moose likes Beginning Java and the fly likes Importing a package Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Importing a package" Watch "Importing a package" New topic
Author

Importing a package

giorgi moniava
Greenhorn

Joined: Apr 16, 2007
Posts: 2
hey all,

I hava a simple problem, but would appreciate if you could reply as soon as possible. particularly I am trying to compile code including following line:

import org.bouncycastle.crypto.digests.SHA1Digest;

But I get an error, saying: " The import import org.bouncycastle.crypto.digests.SHA1Digest; cant be resolved
".

What can I have done wrong ?

Thanks.
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Is SHA1Digest.class under the correct directory hierarchy (org > bouncycastle > crypto > digests)?

Which directory are you compiling from? And what classpath are you using?


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Importing a package
 
Similar Threads
ClassCastException in JavaMail
Applet loads very slowly!
How to compile java file
hashmaps to xml and back
jQuery.getJSON callback not executing