java.io.IOException: Cannot run program "mvn" (in directory "/var/lib/jenkins/jobs/integration project/workspace"): error=2, No such file or directory

Stack Overflow | Irfan Syed | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    console output from the jenkins shows timeout and errors

    Stack Overflow | 7 months ago | Irfan Syed
    java.io.IOException: Cannot run program "mvn" (in directory "/var/lib/jenkins/jobs/integration project/workspace"): error=2, No such file or directory
  2. 0

    Cannot run program "mvn" error=2, No such file or directory

    Stack Overflow | 2 years ago | Mario Dennis
    java.io.IOException: Cannot run program "mvn" (in directory "/var/lib/jenkins/workspace/videovixx"): error=2, No such file or directory
  3. 0

    Jenkins - java.io.IOException: Cannot run program "/usr/local/bin/bash" - shell pressing answers

    itanswerz.com | 2 years ago
    java.io.IOException: Cannot run program "/usr/local/bin/bash" (in directory "/home/portaldev/.jenkins/workspace/Trunk_Build"): error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Create a build job for sample cucumber ruby project

    Stack Overflow | 1 year ago | ASM
    java.io.IOException: Cannot run program "cmd" (in directory "/Users/MacPro/.jenkins/workspace/tests_build"): error=2, No such file or directory
  6. 0

    GitHub comment 95#196490692

    GitHub | 1 year ago | enoch85
    java.io.IOException: Cannot run program "ant" (in directory "/usr/local/jenkins/jobs/ownCloud SMS (Android) - PR/workspace"): error=2, No such file or directory

  1. rp 1 times, last 4 months ago
  2. michallos 1 times, last 5 months ago
  3. eti22 1 times, last 6 months ago
  4. asdasd 24 times, last 7 months ago
  5. rexgreenza 8 times, last 7 months ago
2 more registered users
93 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. java.io.IOException

    error=2, No such file or directory

    at java.lang.UNIXProcess.forkAndExec()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.UNIXProcess.forkAndExec(Native Method)
    2. java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:134)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    4 frames
  3. Hudson
    Executor.run
    1. hudson.Proc$LocalProc.<init>(Proc.java:240)
    2. hudson.Proc$LocalProc.<init>(Proc.java:212)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:381)
    5. hudson.Launcher$ProcStarter.join(Launcher.java:388)
    6. hudson.tasks.Maven.perform(Maven.java:331)
    7. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    8. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
    9. hudson.model.Build$BuildExecution.build(Build.java:205)
    10. hudson.model.Build$BuildExecution.doRun(Build.java:162)
    11. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
    12. hudson.model.Run.execute(Run.java:1741)
    13. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    14. hudson.model.ResourceController.execute(ResourceController.java:98)
    15. hudson.model.Executor.run(Executor.java:410)
    15 frames