Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] org/aspectj/aspectjrt/1.8.3/aspectjrt-1.8.3.jar expected 1.8.2

Hi,
I think it usually means you are running with compiler level X and the aspectjrt.jar that has been found to support that compiler is not level X.

In your situation suggests you are using a 1.8.2 compiler (e.g. aspectjtools 1.8.2) with a 1.8.3 runtime jar. It is only a warning and since nothing has changed in that jar between versions, you should be ok. But I can see in your pom you are wanting to use a 1.8.3 compiler…

Your maven project compiled fine for me, I even emptied out my org/aspectj area of my m2 repository and rebuilt, still fine. Maybe clean yours out?

cheers,
Andy

On Feb 23, 2015, at 2:31 PM, Vitaliy Semochkin <vitaliy.se@xxxxxxxxx> wrote:

Hello,

I'm an author of aspect4log framework

recently, several users reported that during the build they receive the following warning:
[WARNING] bad version number found in /home/someuser/.m2-oss/repository/org/aspectj/aspectjrt/1.8.3/aspectjrt-1.8.3.jar expected 1.8.2 found 1.8.3     <unknown source file>:<no line information>

a sample demonstrating this warning during maven build can be found here
https://github.com/yilativs/aspect4log-aspectj-compiletime-sample

Can someone please explain, what does this warning mean and how to fix it?
(Despite the warning everything works perfect).


_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top