org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.jcabi:jcabi-maven-plugin:0.14.1:ajc (default-cli) on project gateway: Execution default-cli of goal com.jcabi:jcabi-maven-plugin:0.14.1:ajc failed.

GitHub | snowe2010 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Cannot weave using in spring boot project

    GitHub | 6 months ago | snowe2010
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.jcabi:jcabi-maven-plugin:0.14.1:ajc (default-cli) on project gateway: Execution default-cli of goal com.jcabi:jcabi-maven-plugin:0.14.1:ajc failed.

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.jcabi.maven.plugin.AjcMojo.dependencies()
    2. com.jcabi.maven
      AjcMojo$AjcClosure7.run
      1. com.jcabi.maven.plugin.AjcMojo.dependencies(AjcMojo.java:403)
      2. com.jcabi.maven.plugin.AjcMojo.classpath_aroundBody6(AjcMojo.java:380)
      3. com.jcabi.maven.plugin.AjcMojo$AjcClosure7.run(AjcMojo.java:1)
      3 frames
    3. AspectJ runtime
      JoinPointImpl.proceed
      1. org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      1 frame
    4. jcabi-aspects
      MethodLogger.wrapMethod
      1. com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:213)
      2. com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
      3. com.jcabi.aspects.aj.MethodLogger.wrapMethod(MethodLogger.java:169)
      3 frames
    5. com.jcabi.maven
      AjcMojo$AjcClosure9.run
      1. com.jcabi.maven.plugin.AjcMojo.classpath_aroundBody8(AjcMojo.java:357)
      2. com.jcabi.maven.plugin.AjcMojo$AjcClosure9.run(AjcMojo.java:1)
      2 frames
    6. AspectJ runtime
      JoinPointImpl.proceed
      1. org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      1 frame
    7. jcabi-aspects
      MethodCacher.cache
      1. com.jcabi.aspects.aj.MethodCacher$Tunnel.through(MethodCacher.java:308)
      2. com.jcabi.aspects.aj.MethodCacher.cache(MethodCacher.java:138)
      2 frames
    8. com.jcabi.maven
      AjcMojo$AjcClosure3.run
      1. com.jcabi.maven.plugin.AjcMojo.classpath(AjcMojo.java:357)
      2. com.jcabi.maven.plugin.AjcMojo.executeAJC(AjcMojo.java:285)
      3. com.jcabi.maven.plugin.AjcMojo.execute_aroundBody2(AjcMojo.java:264)
      4. com.jcabi.maven.plugin.AjcMojo$AjcClosure3.run(AjcMojo.java:1)
      4 frames
    9. AspectJ runtime
      JoinPointImpl.proceed
      1. org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      1 frame
    10. jcabi-aspects
      MethodLogger.wrapMethod
      1. com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:213)
      2. com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
      3. com.jcabi.aspects.aj.MethodLogger.wrapMethod(MethodLogger.java:169)
      3 frames
    11. com.jcabi.maven
      AjcMojo$AjcClosure5.run
      1. com.jcabi.maven.plugin.AjcMojo.execute_aroundBody4(AjcMojo.java:245)
      2. com.jcabi.maven.plugin.AjcMojo$AjcClosure5.run(AjcMojo.java:1)
      2 frames
    12. AspectJ runtime
      JoinPointImpl.proceed
      1. org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      1 frame
    13. jcabi-aspects
      MethodLogger.wrapClass
      1. com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:138)
      1 frame
    14. com.jcabi.maven
      AjcMojo.execute
      1. com.jcabi.maven.plugin.AjcMojo.execute(AjcMojo.java:245)
      1 frame
    15. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      1 frame
    16. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      9 frames
    17. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      3 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    19. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      5. org.codehaus.classworlds.Launcher.main(Launcher.java:47)
      5 frames
    20. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    21. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame