This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes [Eclipse]: class Nodefound error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "[Eclipse]: class Nodefound error" Watch "[Eclipse]: class Nodefound error" New topic
Author

[Eclipse]: class Nodefound error

karan rajan
Greenhorn

Joined: Oct 07, 2004
Posts: 3
Hi!
Im using Eclipse 3.0.
Im suffering from a problem. I have made a jar file with follwoing structure: test.jar : test\RSAKeyStore.class.
Now in my project i want to use it. MY project have bouth src folder and bin forlder.
proj\src\ - all java files that belongs to the project
proj\bin\ - all .class file wich is compiled from proj.

And imported in to the porject by including extenral jar files in build path.

Now in my one java file (int proj\src\prog.java) i want to create a RSAKeyStore object. But I cant, I get Exception, RSAKeyStore class is not found.
why ?? How can i use my class file in the proj.
I even tried to link as class folder, but still not working.

Can anybody help me..
Thanx
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29219
    
134

Karan,
That means that Eclipse can't find the file at runtime. If you are using a Web or EJB project, you can solve this by adding the jar as a "java jar dependency" (in the properties menu.)


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [Eclipse]: class Nodefound error
 
Similar Threads
Locating the path of a runtime dependency archive file
Defining webroot in eclipse
How to get Eclipse working with my bunch of .java and .class files?
Simple Ant Build
Runnable jar is not including the files