Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

classes missing from the class path

 
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?
Thanks,
Srinivas.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic