-
1. Re: uplicate class definition: org/jboss/aop/AspectManager
kabirkhan Dec 2, 2005 9:07 PM (in response to aefremov)Hi,
Please use the users forum for user type questions.
It looks like you have org.jboss.aop.AspectManager included twice in your classpath.
If you are using ant to build do
$ant -verbose
which will show you the classpath.
AspectManager lives in jboss-aop.jar (which should be used if using jdk 1.4) and jboss-aop-jdk50 (which should be used if using jdk 5.0). -
2. Re: uplicate class definition: org/jboss/aop/AspectManager
aefremov Dec 26, 2005 8:56 AM (in response to aefremov)Once I get a look at source SystemClassLoader.java I see the method under question. I'm talking about "install"(line 340).
The first thing you do is loading "org.jboss.aop.AspectXmlLoader" and then "org.jboss.aop.AspectManager". I think it isn't in the right order because AspectXmlLoader himself loads AspectManager. This way you try to load AspectManager twice. This explains why I get scary message.
What can i do?
Take care -
3. Re: uplicate class definition: org/jboss/aop/AspectManager
kabirkhan Jan 11, 2006 12:49 PM (in response to aefremov)Thanks for your suggestion, it is available in cvs, and will be in the next release :-)
http://jira.jboss.com/jira/browse/JBAOP-198 -
4. Re: uplicate class definition: org/jboss/aop/AspectManager
ben.wang Jan 12, 2006 10:53 AM (in response to aefremov)Kabir, I assume it is 1.3.5m right? And code in head has been fixed? I will test it out myself.
-
5. Re: uplicate class definition: org/jboss/aop/AspectManager
kabirkhan Jan 12, 2006 12:34 PM (in response to aefremov)yup
-
6. Re: uplicate class definition: org/jboss/aop/AspectManager
aefremov Jan 12, 2006 5:34 PM (in response to aefremov)Though, it was depricated it's still very convenient.
Thank you very much.