File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "[Eclipse]: class Nodefound error" Watch "[Eclipse]: class Nodefound error" New topic

[Eclipse]: class Nodefound error

karan rajan

Joined: Oct 07, 2004
Posts: 3
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\ 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..
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30050

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:
subject: [Eclipse]: class Nodefound error
Similar Threads
Locating the path of a runtime dependency archive file
Defining webroot in eclipse
Runnable jar is not including the files
Simple Ant Build
How to get Eclipse working with my bunch of .java and .class files?