ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: How does Ant find classes? ( ClassLoader problem )
Date Tue, 29 Oct 2002 18:55:15 GMT

----- Original Message -----
From: "Garrett Smith" <>
To: "Ant Users List" <>
Sent: Tuesday, October 29, 2002 10:03 AM
Subject: Re: How does Ant find classes? ( ClassLoader problem )

> Is there any other place javax.mail.Session it could be besides j2ee.jar?
> don't have j2ee.jar Is it in jstl.jar somewhere (couldn't find it myself)?
> just installed jstl prior to having this problem.
> Is there a way to find where a class is loaded from during runtime?
> Garrett

There is a way to work out where a class comes from. Take a look at the
attached JSP page that makes sure that Axis is happy. It looks for a class
in mail.jar and tells you where it comes from. It also looks for various
required axis bits; you can comment those bits out and just drop it in your
webapp. Or take the code and reuse it in your own app.

View raw message