org.apache.maven.lifecycle.LifecycleExecutionException

Failed to execute goal com.jenzabar.testing:jenzabar-maven-scannotation-plugin:13:list-entities (Generat e JPA entity properties file) on project ngp-constituent-alert-ejb: A java.io.IOException was encountered during plugin execution

Samebug tips1

If you're using multiple frameworks on your project, check if this is not a problem between mismatched versions of javassist between them.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web64

  • via GitHub by Vittalb
    ,
  • Stack trace

    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.jenzabar.testing:jenzabar-maven-scannotation-plugin:13:list-entities (Generat e JPA entity properties file) on project ngp-constituent-alert-ejb: A java.io.IOException was encountered during plugin execution at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: A java.io.IOException was encountered during plugin execution at com.jenzabar.maven.scannotation.ListEntitiesMojo.execute(ListEntitiesMojo.java:130) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.io.IOException: invalid constant type: 18 at javassist.bytecode.ConstPool.readOne(ConstPool.java:1023) at javassist.bytecode.ConstPool.read(ConstPool.java:966) at javassist.bytecode.ConstPool.<init>(ConstPool.java:127) at javassist.bytecode.ClassFile.read(ClassFile.java:693) at javassist.bytecode.ClassFile.<init>(ClassFile.java:85) at org.scannotation.AnnotationDB.scanClass(AnnotationDB.java:311) at org.scannotation.AnnotationDB.scanArchives(AnnotationDB.java:294) at com.jenzabar.maven.scannotation.AbstractScannotationMojo.scan(AbstractScannotationMojo.java:152) at com.jenzabar.maven.scannotation.AbstractScannotationMojo.scan(AbstractScannotationMojo.java:133) at com.jenzabar.maven.scannotation.AbstractScannotationMojo.scan(AbstractScannotationMojo.java:109) at com.jenzabar.maven.scannotation.ListEntitiesMojo.execute(ListEntitiesMojo.java:128)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    29 more bugmates