• Post Reply Bookmark Topic Watch Topic
  • New Topic

classes missing from the class path  RSS feed

Srinivas Bitla
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!