File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes classes missing from the class path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "classes missing from the class path" Watch "classes missing from the class path" New topic

classes missing from the class path

Srinivas Bitla
Ranch Hand

Joined: Nov 10, 2003
Posts: 31
Hi all,
I have this problem. I am using jaxp.jar and parser.jar. Both jars are in the classpath but rather differently. I have unjared both into the current directory instead of placing the jars in classpath. That way they will be in the classpath along with my classes. I did this because my application could not find the jars when I place them in the classpath. So I unjared into the current directory.
No what I did is, I just loaded a class javax.xml.parsers.DocumentBuilderFactory, which is in unjared jaxp.jar package, with Class.forName(). It is loading the class but my class javax.xml.parsers.DocumentBuilderFactory is missing on the hard disk. Along with this another class which is also missing is javax.xml.parsers.ParserConfigurationException.
Any ideas why they are missing?
I agree. Here's the link:
subject: classes missing from the class path
It's not a secret anymore!