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.


Solutions on the web3662

Solution icon of github
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.

Solution icon of github
via GitHub by vojtechhabarta
, 8 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.

Solution icon of github
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.

Solution icon of github
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.

Solution icon of github
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

Solution icon of github
via GitHub by MarianMacik
, 6 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.

Solution icon of github
Failed to execute goal org.jooq:jooq-codegen-maven:3.9.1:generate (d efault) on project SomeProject: Error running jOOQ code generation tool

Solution icon of github
via GitHub by delenius
, 1 year ago
Failed to execute goal io.github.divinespear:jpa-schema-maven-plugin:0.1.12:generate (default-cli) on project sunflower-server: Error while running

Solution icon of github
Failed to execute goal io.atomicbits:scraml-maven-plugin:0.5.2:scraml (generate-client-sources) on project MMISprint19: Execution generate-client-sources of goal io.atomicbits:scraml-maven-plugin:0.5.2:scraml failed: EnumType(ImplicitId,List(GREATER_THAN, GREATER_THAN_EQUAL),None,RamlModel) (of class io.atomicbits.scraml.ramlparser.model.types.EnumType)

Solution icon of github
Failed to execute goal nl.geodienstencentrum.maven:sass-maven-plugin:2.16:update-stylesheets (generate-css) on project front: Execution generate-css of goal nl.geodienstencentrum.maven:sass-maven-plugin:2.16:update-stylesheets failed: (SystemStackError) stack level too deep

Stack trace

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.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
	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)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution generate-server of goal io.swagger:swagger-codegen-maven-plugin:2.2.2-SNAPSHOT:generate failed.
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 20 more
Caused by: java.lang.NullPointerException
	at io.swagger.codegen.plugin.CodeGenMojo.execute(CodeGenMojo.java:348)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	... 21 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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.