I Java-Version "1.7.0_09-icedtea" aktualisiert haben (bisher war es 1.6) und erhalten die folgende Meldung:Fehler bei der Verwendung von AspectJ AOP mit Java 7
Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate be
an class [org.springframework.aop.aspectj.AspectJPointcutAdvisor]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: error the
@annotation pointcut expression is only supported at Java 5 compliance level or above
Anwendung war mit Java erstellt worden 1.6 und Compiler-Compliance-Ebene wurde ebenfalls auf 1,6 festgelegt. Ich benutze Frühling 3.1.0
Hat jemand Aspectj unter Java 7 arbeiten können?
Welche Version von aspectj verwenden Sie? – Jay
Ich benutze 1.5.4 –