java.io.IOException: mvn: not found

Jenkins JIRA | olamy | 7 years 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

    {code} mvn -f accommons-libs-parent/pom.xml -Dsonar.jdbc.url=jdbc:mysql://x.x.x.x:x/sonar?useUnicode=true&characterEncoding=utf8 -Dsonar.jdbc.password=x -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.host.url=http://x.x.x.x:x -Dsonar.jdbc.username=sonar -Dmaven.repo.local= -f accommons-libs-parent/pom.xml -Pall -U -B -Dmaven.test.failure.ignore=true -e -B sonar:sonar FATAL: command execution failed java.io.IOException: mvn: not found at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:451) at hudson.Proc$LocalProc.<init>(Proc.java:149) at hudson.Proc$LocalProc.<init>(Proc.java:121) at hudson.Launcher$LocalLauncher.launch(Launcher.java:633) at hudson.Launcher$ProcStarter.start(Launcher.java:268) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:778) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:754) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) {code}

    Jenkins JIRA | 7 years ago | olamy
    java.io.IOException: mvn: not found
  2. 0

    {code} mvn -f accommons-libs-parent/pom.xml -Dsonar.jdbc.url=jdbc:mysql://x.x.x.x:x/sonar?useUnicode=true&characterEncoding=utf8 -Dsonar.jdbc.password=x -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.host.url=http://x.x.x.x:x -Dsonar.jdbc.username=sonar -Dmaven.repo.local= -f accommons-libs-parent/pom.xml -Pall -U -B -Dmaven.test.failure.ignore=true -e -B sonar:sonar FATAL: command execution failed java.io.IOException: mvn: not found at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:451) at hudson.Proc$LocalProc.<init>(Proc.java:149) at hudson.Proc$LocalProc.<init>(Proc.java:121) at hudson.Launcher$LocalLauncher.launch(Launcher.java:633) at hudson.Launcher$ProcStarter.start(Launcher.java:268) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:778) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:754) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) {code}

    Jenkins JIRA | 7 years ago | olamy
    java.io.IOException: mvn: not found
  3. 0

    How can I use an alternate path for a Jenkins slave SCM step (CVS)

    Google Groups | 6 years ago | Matthew Johnson
    java.io.IOException: cvs: not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.io.IOException: Cannot run program "ant" - java pressing answers

    itanswerz.com | 1 year ago
    java.io.IOException: Cannot run program "ant" (in directory "/hudson/buildTool/src/bt"): error=2, No existe el fichero o el directorio
  6. 0

    Re: [dash-dev] Weird failure..

    eclipse.org | 1 year ago
    java.io.IOException: error=2, No such file or directory

  1. rp 1 times, last 2 months ago
  2. michallos 1 times, last 3 months ago
  3. eti22 1 times, last 4 months ago
  4. asdasd 24 times, last 5 months ago
  5. rexgreenza 8 times, last 5 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

    mvn: not found

    at java.lang.UNIXProcess.forkAndExec()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.UNIXProcess.forkAndExec(Native Method)
    2. java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:65)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
    4 frames
  3. Hudson
    Launcher$RemoteLaunchCallable.call
    1. hudson.Proc$LocalProc.<init>(Proc.java:149)
    2. hudson.Proc$LocalProc.<init>(Proc.java:121)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:633)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:268)
    5. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:778)
    6. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:754)
    6 frames
  4. Hudson :: Remoting Layer
    Request$2.run
    1. hudson.remoting.UserRequest.perform(UserRequest.java:104)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:270)
    3 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:123)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    6. java.lang.Thread.run(Thread.java:595)
    6 frames