The URLClassLoader is used to load jar files from a specified URL. A
thread is created that can actually load the class/resource. (Please
see API for more info).
There is one method - findClass which accepts a String classname and
throws a ClassNotFoundException if the class could not be found. Check
to see if the class is available at the URL you have specified - remm
if you do not use a trailing / it will assume that you are NOT
referring to a directory but a resource or JAR file.
HTH,
Anoop
On 8/2/05, Ming Han [EMAIL PROTECTED] wrote:
Hi there,
I have problem when starting up Tomcat.
Here is the transcript of the starting tomcat process :
Using CATALINA_BASE: C:\jakarta-tomcat-5.0.28
Using CATALINA_HOME: C:\jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp
Using JAVA_HOME: C:\Program Files\Java\j2sdk1.4.2_08
Initializing jdb ...
run startup
run startup
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
VM Started:
Exception occurred: java.lang.ClassNotFoundException
(uncaught)thread=main, java.net.URLClassLoader$1.run(), line=199
bci=72
May i know wat is the reason pls ?
Regards,
MingHan Chai
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Thanks and best regards,
Anoop
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]