Forums Register Login

servlet help!

+Pie Number of slices to send: Send
hi! i been following examples from a book, XML and Java from scratch, n im now stuck with an error when running a particular servlet.
exception

root cause

servlet

any idea?
im running tomcat 4.1, java 1.3.1, xerces 1.4.4, xalan j 2.5.1 on my com.
+Pie Number of slices to send: Send
It looks like you haven't got Xerces on your class path for the deployed application. Are you sure that xerces.jar has been deployed onto the Tomcat server ?
+Pie Number of slices to send: Send
thx for ya reply!
deployed? i did set the classpath for xerces.jar.
.;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\tools.jar;C:\xalan-j_2_5_1\bin\xalan.jar;C:\xalan-j_2_5_1\bin\xml-apis.jar;C:\xerces-1_4_4\xerces.jar;C:\xerces-1_4_4\xercesSamples.jar;C:\xalan-j_2_5_1\bin\xercesImpl.jar;
im running win xp by the way!
+Pie Number of slices to send: Send
The latest Tomcat changes the way classes are found - it does NOT use classpath for anything. Documentation comes with the Tomcat installation. Look for Class Loader How-to.
Bill
+Pie Number of slices to send: Send
By "latest Tomcat", do you mean Tomcat 5?
+Pie Number of slices to send: Send
Nope - there was a change in the convention for how classes are located on going from Tomcat 3 to 4. (and possibly within 4.x versions) I don't know if there are more changes in store. Like I said there is a class loader How To document that should explain it all.
Bill
+Pie Number of slices to send: Send
Thanks. I've never used a Tomcat earlier than 4.1.24, so the idea of using CLASSPATH at all is pretty foreign to me.
+Pie Number of slices to send: Send
 

Originally posted by William Brogden:
The latest Tomcat changes the way classes are found - it does NOT use classpath for anything. Documentation comes with the Tomcat installation. Look for Class Loader How-to.
Bill


got it. thx!
Hug your destiny! And hug this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1127 times.
Similar Threads
xml updations and deletions
An invalid XML character found during parsing
Updating XML values
xml.transform and stylesheets?
How to get the value of a tag in xml using java
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:45:15.