org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.gatling:gatling-maven-plugin:2.2.0:execute (default-cli) on project sample-weird-path: Gatling 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

Samebug tips

,

you can change your scala version to 2.11.11

,

Make sure to add the H2 jar file to the classpath environment variable. If you are using an IDE like NetBeans, add the H2 jar file to your project libraries.

Solutions on the web

via GitHub by GreyTeardrop
, 1 year ago
Failed to execute goal io.gatling:gatling-maven-plugin:2.2.0:execute (default-cli) on project sample-weird-path: Gatling failed.
via Stack Overflow by Karthikeyan Palanisamy
, 7 months ago
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.2.RELEASE:run (default-cli) on project gateway: Could not exec java
via GitHub by cstettler
, 3 months ago
Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:deploy (default-cli) on project asciidoc-confluence-publisher-doc: Failed to update metadata org.sahli.asciidoc.confluence.publisher/maven-metadata.xml: null
via GitHub by cstroe
, 1 year ago
Failed to execute goal io.takari.polyglot:polyglot-translate-plugin:0.1.19:translate (default-cli) on project AgreementMaker-OSGi: Execution default-cli of goal io.takari.polyglot:polyglot-translate-plugin:0.1.19:translate failed.
via GitHub by maxfliri
, 6 months ago
Failed to execute goal io.gatling:gatling-maven-plugin:2.2.4:execute (default-cli) on project matchboxPerformanceTesting: Gatling failed.
via Stack Overflow by Madan V
, 6 months ago
Failed to execute goal io.gatling:gatling-maven-plugin:2.2.4:execute (default) on project vehicle-utilization-load-tests: Gatling failed.
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.gatling:gatling-maven-plugin:2.2.0:execute (default-cli) on project sample-weird-path: Gatling failed.
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at io.gatling.mojo.GatlingMojo.resolveSimulations(GatlingMojo.java:392)
at io.gatling.mojo.GatlingMojo.simulations(GatlingMojo.java:322)
at io.gatling.mojo.GatlingMojo.execute(GatlingMojo.java:205)
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)
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.apache.maven.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:39)
at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:122)
at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:50)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
22 times, 1 week ago
Once, 2 months ago
6 times, 3 months ago
Samebug visitor profile picture
Unknown user
2 times, 3 months ago

Write tip

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