looks like you are using an old weaver with an up to date compiler.

AspectJ1.6.0m2 generates files of version 5.0
AspectJ1.5.4 can only read up to version 3.0

Version 5 includes the extra information about parameter annotation
matching and annotation value matching (it goes in the file whether
you are using that feature or not - but doesn't take up much space).

If you are using the latest AJDT you will also need up upgrade your weaver.

Andy.

On 05/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi
>
> When I try to run an AspectJ/Java application under Eclipse with the latest
> ajdt bul I get:
>
> AspectWerkz - INFO - Pre-processor
> org.aspectj.ext.ltw13.ClassPreProcessorAdapter loaded and
> initialized
> 14:37:23.713 main E register definition failed
> org.aspectj.weaver.BCException: Unable to continue, this version of AspectJ
> supports classes built with weaver version 3.0 but the class
> xxx....BaseAspect is version 5.0
>
> [EMAIL PROTECTED] warning register definition failed --
> (BCException) Unable to continue, this version of AspectJ supports classes
> built with weaver version 3.0 but the class xxx....BaseAspect is version 5.0
>
> Unable to continue, this version of AspectJ supports classes built with
> weaver version 3.0 but the class xxx....BaseAspect is version 5.0
>
> org.aspectj.weaver.BCException: Unable to continue, this version of AspectJ
> supports classes built with weaver version 3.0 but the class
> xxx....BaseAspect is version 5.0
>
> Any other seen this bevaiour and know how to fix it.
>
> Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> * * *
>
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that the DnB NOR Group
> cannot accept any payment orders or other legally binding correspondence
> with
> customers as a part of an email.
>
> This email message has been virus checked by the anti virus programs used
> in the DnB NOR Group.
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>
> _______________________________________________
>  aspectj-users mailing list
>  [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to