Last Updated: February 25, 2016
·
5.293K
· konrad-garus

AspectJ complaining about Java 5 compliance level

If you're getting this:

error the @within pointcut expression is only supported at Java 5 compliance level or above

... and using Java 7 or above, make sure the AspectJ is fresh enough. 1.6.5 did not support anything above Java 6, 1.6.12 does.