org.apache.maven.lifecycle.LifecycleExecutionException

Failed to execute goal com.webcohesion.enunciate:enunciate-maven-plugin:2.6.0:assemble (default) on project Proj: Compile failed of Java JSON client-side classes.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web4776

  • Failed to execute goal com.webcohesion.enunciate:enunciate-maven-plugin:2.6.0:assemble (default) on project Proj: Compile failed of Java JSON client-side classes.
  • Failed to execute goal com.webcohesion.enunciate:enunciate-maven-plugin:2.2.0:assemble (assemble) on project jjj-rest-war: Execution assemble of goal com.webcohesion.enunciate:enunciate-maven-plugin:2.2.0:assemble failed: com.webcohesion.enunciate.EnunciateException: Compile failed of Java JSON client-side classes.
  • via GitHub by ke5stl
    , 1 year ago
    Failed to execute goal com.webcohesion.enunciate:enunciate-maven-plugin:2.2.0:assemble (assemble) on project bcpbx-rest-war: Execution assemble of goal com.webcohesion.enunciate:enunciate-maven-plugin:2.2.0:assemble failed: com.webcohesion.enunciate.EnunciateException: Compile failed of Java JSON client-side classes.
  • Stack trace

    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.webcohesion.enunciate:enunciate-maven-plugin:2.6.0:assemble (default) on project Proj: Compile failed of Java JSON client-side classes. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) 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:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Compile failed of Java JSON client-side classes. at com.webcohesion.enunciate.mojo.ConfigMojo.execute(ConfigMojo.java:380) at com.webcohesion.enunciate.mojo.AssembleBaseMojo.execute(AssembleBaseMojo.java:86) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: com.webcohesion.enunciate.EnunciateException: Compile failed of Java JSON client-side classes. at com.webcohesion.enunciate.modules.java_json_client.JavaJSONClientModule.compileClientSources(JavaJSONClientModule.java:354) at com.webcohesion.enunciate.modules.java_json_client.JavaJSONClientModule.call(JavaJSONClientModule.java:128) at com.webcohesion.enunciate.io.InvokeEnunciateModule.onNext(InvokeEnunciateModule.java:31) at com.webcohesion.enunciate.io.InvokeEnunciateModule.onNext(InvokeEnunciateModule.java:10) at rx.internal.operators.OperatorDoOnEach$1.onNext(OperatorDoOnEach.java:79) at rx.internal.operators.OperatorSingle$ParentSubscriber.onCompleted(OperatorSingle.java:109) at rx.internal.operators.NotificationLite.accept(NotificationLite.java:140) at rx.internal.operators.TakeLastQueueProducer.emit(TakeLastQueueProducer.java:100) at rx.internal.operators.TakeLastQueueProducer.startEmitting(TakeLastQueueProducer.java:45) at rx.internal.operators.OperatorTakeLast$1.onCompleted(OperatorTakeLast.java:59) at rx.internal.operators.OperatorMerge$MergeSubscriber.drainAndComplete(OperatorMerge.java:521) at rx.internal.operators.OperatorMerge$MergeSubscriber.onCompleted(OperatorMerge.java:472) at rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:102) at rx.Subscriber.setProducer(Subscriber.java:177) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:47) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:33) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable.subscribe(Observable.java:7585) at rx.Observable.subscribe(Observable.java:7454) at rx.internal.operators.OnSubscribeCache.call(OnSubscribeCache.java:66) at rx.internal.operators.OnSubscribeCache.call(OnSubscribeCache.java:42) at rx.Observable.unsafeSubscribe(Observable.java:7495) at rx.internal.operators.OperatorMerge$MergeSubscriber.handleNewSource(OperatorMerge.java:215) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:185) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:120) at rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:96) at rx.Subscriber.setProducer(Subscriber.java:177) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:47) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:33) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable.unsafeSubscribe(Observable.java:7495) at rx.internal.operators.OperatorMerge$MergeSubscriber.handleNewSource(OperatorMerge.java:215) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:185) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:120) at rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:96) at rx.Subscriber.setProducer(Subscriber.java:177) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:47) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:33) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable.unsafeSubscribe(Observable.java:7495) at rx.internal.operators.OperatorMerge$MergeSubscriber.handleNewSource(OperatorMerge.java:215) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:185) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:120) at rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:96) at rx.Subscriber.setProducer(Subscriber.java:177) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:47) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:33) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable.unsafeSubscribe(Observable.java:7495) at rx.internal.operators.OperatorMerge$MergeSubscriber.handleNewSource(OperatorMerge.java:215) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:185) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:120) at rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:96) at rx.Subscriber.setProducer(Subscriber.java:177) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:47) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:33) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable.unsafeSubscribe(Observable.java:7495) at rx.internal.operators.OperatorMerge$MergeSubscriber.handleNewSource(OperatorMerge.java:215) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:185) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:120) at rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:96) at rx.Subscriber.setProducer(Subscriber.java:177) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:47) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:33) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable.unsafeSubscribe(Observable.java:7495) at rx.internal.operators.OperatorMerge$MergeSubscriber.handleNewSource(OperatorMerge.java:215) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:185) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:120) at rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:96) at rx.Subscriber.setProducer(Subscriber.java:177) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:47) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:33) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable.unsafeSubscribe(Observable.java:7495) at rx.internal.operators.OperatorMerge$MergeSubscriber.handleNewSource(OperatorMerge.java:215) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:185) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:120) at rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:96) at rx.Subscriber.setProducer(Subscriber.java:177) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:47) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:33) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable.unsafeSubscribe(Observable.java:7495) at rx.internal.operators.OperatorMerge$MergeSubscriber.handleNewSource(OperatorMerge.java:215) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:185) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:120) at rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:96) at rx.Subscriber.setProducer(Subscriber.java:177) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:47) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:33) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable.subscribe(Observable.java:7585) at rx.Observable.subscribe(Observable.java:7454) at rx.internal.operators.OnSubscribeCache.call(OnSubscribeCache.java:66) at rx.internal.operators.OnSubscribeCache.call(OnSubscribeCache.java:42) at rx.Observable.unsafeSubscribe(Observable.java:7495) at rx.internal.operators.OperatorMerge$MergeSubscriber.handleNewSource(OperatorMerge.java:215) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:185) at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:120) at rx.internal.operators.OnSubscribeFromIterable$IterableProducer.request(OnSubscribeFromIterable.java:96) at rx.Subscriber.setProducer(Subscriber.java:177) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:47) at rx.internal.operators.OnSubscribeFromIterable.call(OnSubscribeFromIterable.java:33) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable$1.call(Observable.java:144) at rx.Observable$1.call(Observable.java:136) at rx.Observable.subscribe(Observable.java:7585) at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:442) at rx.observables.BlockingObservable.single(BlockingObservable.java:341) at com.webcohesion.enunciate.EnunciateAnnotationProcessor.process(EnunciateAnnotationProcessor.java:92) at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794) at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705) at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91) at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035) at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856) at com.sun.tools.javac.main.Main.compile(Main.java:523) at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) at com.webcohesion.enunciate.Enunciate.run(Enunciate.java:663) at com.webcohesion.enunciate.mojo.ConfigMojo.execute(ConfigMojo.java:375) ... 23 more Caused by: rx.exceptions.OnErrorThrowable$OnNextValue: OnError while emitting onNext value: com.webcohesion.enunciate.EnunciateContext.class at rx.exceptions.OnErrorThrowable.addValueAsLastCause(OnErrorThrowable.java:101) at rx.internal.operators.OperatorDoOnEach$1.onNext(OperatorDoOnEach.java:81) ... 166 more

    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

    Once, 2 weeks ago
    Unknown user
    Once, 4 weeks ago
    5 times, 1 month ago
    Unknown user
    Once, 1 year ago
    Once, 1 year ago
    7 more bugmates