I don't explain well. I appologize for it. 

Those .java source were already compiled into .class file (I use maven I
checked the war file. Class files are stored in the correct path.) It just
looks like the webapp class loder doesn't load the aspectj class (whose
source is ended with .aj and it is compiled into .class after packaged into
war file.) But I think I could be wrong because I am not very sure whether
the WebappLoader.java/ WebappClassLoader.java are the right place to look
at. Just want to collect as many information as possible in order to find
out what happends. It is interesting for me to understand more on how it
works. 

Thanks again for your reply.


Caldarale, Charles R wrote:
> 
>> From: neo anderson [mailto:javadeveloper...@yahoo.co.uk]
>> Subject: Re: Class loading question (with aspectj)
>> 
>> I do not put the same class i.e. TapestryFilter.java in both location
>> (WEB-INF/classes and WEB-INF/lib).
> 
> A .java file is not a class file.
> 
>> The way how I test is by copying TapestryFilter.java to another foler
>> under WEB-INF/classes and renaming it to another name e.g.
>> MyTapestryFilter.java.
> 
> Again, a .java file is not a class file.  More has to be changed than just
> the file name, to say nothing of compiling it.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Class-loading-question-%28with-aspectj%29-tp25288633p25304070.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to