that reproduces
what I have and I'll send it over.
Thanks a lot.
-Vincent
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Vincent Massol [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 10:08 PM
Subject: Re: WebappClassLoader question
On Thu, 26 Jul
]
Sent: Thursday, July 26, 2001 10:08 PM
Subject: Re: WebappClassLoader question
On Thu, 26 Jul 2001, Craig R. McClanahan wrote:
Hmm, I just tried a case like what you have below. As long as B does not
explicitly reference class C, then it works. In other words, in my
example where
Hi Vincent
You seem to be missing at least two things here:
1. In your original post you said:
When I access the servlet, I get a ClassNotFoundException on a
JUnit class. So far it is normal ...
When I debugged it, I have actually found that the error was
happening when
Hola Nacho,
Ignacio J. Ortega wrote:
I'm lost here, where you put the Junit.jar? , because it will be on some
place? no? to allow you load classes from , no?, i think you need the
entire inheritance chain for resolving dependencies, so you need
Junit.jar in some place in classpath AFAIK..
- Original Message -
From: Andrew Inggs [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 10:01 AM
Subject: RE: WebappClassLoader question
Hi Vincent
You seem to be missing at least two things here:
1. In your original post you said:
When I access the servlet
-Mensaje original-
De: Alex Fernández [mailto:[EMAIL PROTECTED]]
Enviado el: viernes 27 de julio de 2001 11:17
Para: [EMAIL PROTECTED]
Asunto: Re: WebappClassLoader question
The problem is, Cactus (Jakarta's J2EE testing package) raises an
exception if junit.jar is not found
The problem is, Cactus (Jakarta's J2EE testing package) raises an
exception if junit.jar is not found; it should catch the exception and
kindly explain the situation to the user.
Right now, the exception is raised in a strange place, and
thus the user
is faced with an abstruse
: WebappClassLoader question
On Thu, 26 Jul 2001, Craig R. McClanahan wrote:
Hmm, I just tried a case like what you have below. As long as B does not
explicitly reference class C, then it works. In other words, in my
example where you've got the // call the method by reflection comment, I
Inggs [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 27, 2001 10:01 AM
Subject: RE: WebappClassLoader question
Hi Vincent
You seem to be missing at least two things here:
1. In your original post you said:
When I access the servlet, I get a ClassNotFoundException on a
JUnit
Fernández [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 3:44 PM
Subject: Re: WebappClassLoader question
Hi Vincent!
I've run into the same situation a couple of times, when one class uses
a second class, and this second class uses a third one
[EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 6:18 PM
Subject: Re: WebappClassLoader question
On Thu, 26 Jul 2001, Vincent Massol wrote:
Thanks Alex,
I don't think the standard classloader mechanism is involved here. I
believe
it is a 'feature' of Tomcat and more specifically of it's
Hola Vincent:
-Mensaje original-
De: Vincent Massol [mailto:[EMAIL PROTECTED]]
Enviado el: jueves 26 de julio de 2001 22:20
Para: Craig R. McClanahan; [EMAIL PROTECTED]
Asunto: Re: WebappClassLoader question
snip/
Now all of this is packaged in a war, classes A and B
: Thursday, July 26, 2001 6:18 PM
Subject: Re: WebappClassLoader question
On Thu, 26 Jul 2001, Vincent Massol wrote:
Thanks Alex,
I don't think the standard classloader mechanism is involved here. I
believe
it is a 'feature' of Tomcat and more specifically of it's
WebappClassLoader
Hi,
Here is the situation :
* I have a class that makes use of JUnit (by
extending the JUnit TestCase class). Let's call it ServletTestCase
* I have a second class that is used to call a
method in ServletTestCase, let's call it MyProxyClass
* I have a thirdclass (a servlet) that does
Hi Vincent!
I've run into the same situation a couple of times, when one class uses
a second class, and this second class uses a third one that is not
present.
1st - 2nd - 3rd (missing)
One would think that instantiating the 2nd should give an error, but
that loading the 2nd and/or
15 matches
Mail list logo