This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32507
    
214

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.)


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: [Eclipse]: class Nodefound error
 
It's not a secret anymore!