0

I have migrated my app from java 7 to java 8 but pom.xml build fails because of aspectj-maven complier. I have tried till 1.7 version but no luck.

Please provide aspectj-maven-plugin support for java 8. I have used till 1.7 but its not working.

Vyncent
  • 1,185
  • 7
  • 17
sridhar
  • 303
  • 5
  • 26
  • 3
    Are you expecting that a Maven plugin developer is now going to do it or something? – Gimby Apr 21 '15 at 11:06
  • 1
    There is already an answer for this problem here : http://stackoverflow.com/questions/25209339/spring-aspectj-weaving-for-java-8-using-aspectj-maven-plugin – Vyncent Apr 21 '15 at 11:10
  • When I run the existing pom.xml with JAVA 8 it showing following exception Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test – sridhar Apr 21 '15 at 11:13
  • @ Vyncent : Yes I have did that. But it showing Error injecting: org.codehaus.mojo.aspectj.AjcCompileMojo java.lang.NoClassDefFoundError: [Lorg/codehaus/plexus/util/Scanner; at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.getDeclaredMethods(Class.java:1975) at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:674) – sridhar Apr 21 '15 at 11:22
  • Spring + AspectJ weaving for java 8 using aspectj-maven-plugin is not working – sridhar Apr 22 '15 at 09:43

0 Answers0