org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.swagger:swagger-codegen-maven-plugin:2.2.2-SNAPSHOT:generate (generate-server) on project adapter: Execution generate-server of goal io.swagger:swagger-codegen-maven-plugin:2.2.2-SNAPSHOT:generate failed.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by eblis
, 10 months ago
Failed to execute goal io.swagger:swagger-codegen-maven-plugin:2.2.2-SNAPSHOT:generate (generate-server) on project adapter: Execution generate-server of goal io.swagger:swagger-codegen-maven-plugin:2.2.2-SNAPSHOT:generate failed.
via GitHub by vojtechhabarta
, 10 months ago
Failed to execute goal cz.habarta.typescript-generator:typescript-generator-maven-plugin:1.15-SNAPSHOT:generate (rest) on project <xxx>: Execution rest of goal cz.habarta.typescript-generator:typescript-generator-maven-plugin:1.15-SNAPSHOT:generate failed.
via GitHub by mattrpav
, 1 year ago
Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1:generate (generate) on project aaa.bbb.ccc: Execution generate of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1:generate failed.
via GitHub by mattrpav
, 1 year ago
Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1:generate (generate) on project aaa.bbb.ccc: Execution generate of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1:generate failed.
via GitHub by tylerprete
, 2 years ago
Failed to execute goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.4.10:generate (default) on project schema: Execution default of goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.4.10:generate failed: Path not present: definitions
via GitHub by MarianMacik
, 8 months ago
Failed to execute goal org.revapi:revapi-maven-plugin:0.8.1:report (report) on project drools-core: Execution report of goal org.revapi:revapi-maven-plugin:0.8.1:report failed: Failed to generate report.
java.lang.NullPointerException:
at io.swagger.codegen.plugin.CodeGenMojo.execute(CodeGenMojo.java:348)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
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:498)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.