org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1-SNAPSHOT:resource (fmp) on project fmp-test: Execution fmp of goal io.fabric8:fabric8-maven-plugin:3.1-SNAPSHOT:resource failed: Cannot load service io.fabric8.maven.generator.webapp.WebAppGenerator defined in jar:file:/home/james/.m2/repository/io/fabric8/fabric8-maven-generator-webapp/3.1-SNAPSHOT/fabric8-maven-generator-webapp-3.1-SNAPSHOT.jar!/META-INF/fabric8/generator-default : java.lang.reflect.InvocationTargetException. Aborting

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by jamesnetherton
, 1 year ago
.maven.generator.webapp.WebAppGenerator defined in jar:file:/home/james/.m2/repository/io/fabric8/fabric8-maven-generator-webapp/3.1-SNAPSHOT/fabric8-maven-generator-webapp-3.1-SNAPSHOT.jar!/META-INF/fabric8/generator-default : java.lang.reflect.InvocationTargetException. Aborting
via GitHub by matzew
, 10 months ago
Failed to execute goal io.fabric8:fabric8-maven-plugin:3.2.14:resource (default) on project http-server: Execution default of goal io.fabric8:fabric8-maven-plugin:3.2.14:resource failed: Cannot extract generator: java.lang.NullPointerException
via GitHub by rhuss
, 1 year ago
Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.86:build (default) on project micro: Execution default of goal io.fabric8:fabric8-maven-plugin:3.1.86:build failed: A JSONObject text
via GitHub by cmoulliard
, 2 years ago
Failed to execute goal io.fabric8:fabric8-maven-plugin:2.2.38:json (default-cli) on project dabou: Execution default-cli of goal io.fabric8:fabric8-maven-plugin:2.2.38:json failed.
via GitHub by apupier
, 1 year ago
Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.0.redhat-000035:build (default) on project my-fuse-project: Execution default of goal io.fabric8:fabric8-maven-plugin:3.1.0.redhat-000035:build failed.
via GitHub by rawlingsj
, 1 year ago
Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.86:build (default) on project micro: Execution default of goal io.fabric8:fabric8-maven-plugin:3.1.86:build failed: A JSONObject text must begin with '{' at 1 [character 2 line 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1-SNAPSHOT:resource (fmp) on project fmp-test: Execution fmp of goal io.fabric8:fabric8-maven-plugin:3.1-SNAPSHOT:resource failed: Cannot load service io.fabric8.maven.generator.webapp.WebAppGenerator defined in jar:file:/home/james/.m2/repository/io/fabric8/fabric8-maven-generator-webapp/3.1-SNAPSHOT/fabric8-maven-generator-webapp-3.1-SNAPSHOT.jar!/META-INF/fabric8/generator-default : java.lang.reflect.InvocationTargetException. Aborting
at io.fabric8.maven.generator.webapp.handler.AbstractAppServerHandler.scanFiles(AbstractAppServerHandler.java:29)
at io.fabric8.maven.generator.webapp.handler.AbstractAppServerHandler.hasOneOf(AbstractAppServerHandler.java:40)
at io.fabric8.maven.generator.webapp.handler.JettyAppSeverHandler.isApplicable(JettyAppSeverHandler.java:23)
at io.fabric8.maven.generator.webapp.AppServerDetector.detect(AppServerDetector.java:32)
at io.fabric8.maven.generator.webapp.WebAppGenerator.(WebAppGenerator.java:67)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at io.fabric8.maven.core.util.PluginServiceFactory.createOrRemoveService(PluginServiceFactory.java:139)
at io.fabric8.maven.core.util.PluginServiceFactory.readServiceDefinitionFromUrl(PluginServiceFactory.java:100)
at io.fabric8.maven.core.util.PluginServiceFactory.readServiceDefinitions(PluginServiceFactory.java:88)
at io.fabric8.maven.core.util.PluginServiceFactory.createServiceObjects(PluginServiceFactory.java:73)
at io.fabric8.maven.plugin.generator.GeneratorManager.generate(GeneratorManager.java:58)
at io.fabric8.maven.plugin.ResourceMojo$3.customizeConfig(ResourceMojo.java:584)
at io.fabric8.maven.docker.config.ConfigHelper.resolveImages(ConfigHelper.java:51)
at io.fabric8.maven.plugin.ResourceMojo.getResolvedImages(ResourceMojo.java:570)
at io.fabric8.maven.plugin.ResourceMojo.executeInternal(ResourceMojo.java:233)
at io.fabric8.maven.plugin.AbstractFabric8Mojo.execute(AbstractFabric8Mojo.java:61)
at io.fabric8.maven.plugin.ResourceMojo.execute(ResourceMojo.java:225)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
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:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
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 a tip to help other users and build your expert profile.

Write tip

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