Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Cannot register non aspect

Since you are using JRockit, the simplest setup would be to use the
JRockit weaving agent:

http://www.eclipse.org/aspectj/doc/released/devguide/ltw-agents.html#jrockit

On 22/12/05, mohan.radhakrishnan@xxxxxxxxxxxxx
<mohan.radhakrishnan@xxxxxxxxxxxxx> wrote:
>
> Hi,
>         I was trying to enable LTW for JDK 1.4. So I am running the test
> that uses AspectWerkz and AspectJ to do this. I get this error. Has anybody
> tried this ?
> I want to use LTW for WebLogic which uses JDK 1.4.
>
>      [java] java.lang.RuntimeException: Cannot register non aspect:
> test.ltw13.S
> ample$TestAspect , test.ltw13.Sample.TestAspect
>      [java]     at
> org.aspectj.weaver.bcel.BcelWeaver.addLibraryAspect(BcelWeave
> r.java:176)
>      [java]     at
> org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.registe
> rAspects(ClassLoaderWeavingAdaptor.java:313)
>      [java]     at
> org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.registe
> rDefinitions(ClassLoaderWeavingAdaptor.java:172)
>
> Thanks,
> Mohan
>
>
>
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the email by you is prohibited.
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
>


--
-- Adrian
adrian.colyer@xxxxxxxxx


Back to the top