title: Java Maven javacv error : org.apache.commons.exec.ExecuteException
body: <p>I set javacv on maven but I get error like this :</p>
  
  <blockquote>
    <p>org.apache.commons.exec.ExecuteException: Process exited with an
    error: 1 (Exit value: 1)  at
    org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
      at
    org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
      at
    org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764)
      at
    org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711)
      at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289)   at
    org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      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
    java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)   at
    java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at
    java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)   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
    org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)</p>
  </blockquote>
  
  <p>here is the maven code:</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.bytedeco.javacpp-presets&lt;/groupId&gt;
          &lt;artifactId&gt;tesseract&lt;/artifactId&gt;
          &lt;version&gt;3.04-1.1&lt;/version&gt;
      &lt;/dependency&gt;  
      &lt;dependency&gt;
          &lt;groupId&gt;org.bytedeco.javacpp-presets&lt;/groupId&gt;
          &lt;artifactId&gt;leptonica&lt;/artifactId&gt;
          &lt;version&gt;1.72-1.1&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.openpnp&lt;/groupId&gt;
          &lt;artifactId&gt;opencv&lt;/artifactId&gt;
          &lt;version&gt;3.4.2-0&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>