org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2)

GitHub | jessechan007 | 4 months ago
  1. 0

    GitHub comment 32#240911711

    GitHub | 4 months ago | jessechan007
    org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2)
  2. 0

    Bad version of java when running maven exec plugin

    Stack Overflow | 6 months ago | hudi
    org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2)
  3. 0

    GitHub comment 108#232734652

    GitHub | 5 months ago | pgrosu
    org.apache.commons.exec.ExecuteException: Process exited with an error: 128 (Exit value: 128)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 108#232735264

    GitHub | 5 months ago | dionloy
    org.apache.commons.exec.ExecuteException: Process exited with an error: 128 (Exit value: 128)
  6. 0

    How to execute spring-boot:run from terminal for Remote Debugging

    Stack Overflow | 3 months ago | Aman Tuladhar
    org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)

  1. tvrmsmith 1 times, last 5 months ago
  2. cesarnog 8 times, last 1 month ago
  3. Mody 1 times, last 10 months ago
40 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.commons.exec.ExecuteException

    Process exited with an error: 2 (Exit value: 2)

    at org.apache.commons.exec.DefaultExecutor.executeInternal()
  2. Apache Commons Exec
    DefaultExecutor.execute
    1. org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
    2. org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
    2 frames
  3. org.codehaus.mojo
    ExecMojo.execute
    1. org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
    2. org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
    3. org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)
    3 frames
  4. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    1 frame
  5. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    10 frames
  6. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:483)
    4 frames
  8. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    4 frames