Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Bug in latest AJDT?

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, hermod.opstvedt@xxxxxxxxx <hermod.opstvedt@xxxxxxxxx> 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
>
> [AppClassLoader@317d384e] 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
>  aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>


Back to the top