Forums Register Login

classes missing from the class path

+Pie Number of slices to send: Send
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.
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 573 times.
Similar Threads
New Classloader for tomcat.
Classpaths
Adding APP-INF/classes to JBoss EAR classpath
Problem with Apache axis
problems with JAXP
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:05:23.