Skip to main content

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

Hi

Actually it's the other way around if you look at what it is saying. The
weaver weaves 5.0, but the runtime is 3.0. This again is controlled by the
ASPECTJ_RT parameter in the Eclipse plugin. I'll try to remove the feature,
make sure the  ASPECTJ_RT parameter is also deleted and reinstall the plugin
again. If it still gives this error, it definitly is an error in the plugin.

Hermod

-----Opprinnelig melding-----
Fra: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] På vegne av Andy Clement
Sendt: 5. mars 2008 21:51
Til: aspectj-users@xxxxxxxxxxx
Emne: 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
>
>
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users




Back to the top