Hi, everybody

I have the next problem:
A servlet calls a non-servlet class, and this non-servlet class imports classes 
from a jar file, 
but the classloader does not find the class from the jar file
(so when I call the servlet from an internet browser, I get a 
NoClassDefFoundException)

But if a servlet class imports the same classes from the jar, the class loader 
does find them...
I've tried some ways to solve this problem, like:
   a) unpacking the classes from the jar (this works, but I had the problem 
that 2 different jars contained 
a file with the same name stored in the same directory, so one would replace 
the other, and the class fails)
   b) I thought it would be a security problem so I ran tomcat with a 
SecurityManager, but it didn't solve the 
problem..

does somebody has any idea why this is happening???
can somebody help me to solve this... thanks in advance

Jose Maria


___________________________________________________________
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to