java.io.IOException: Cannot run program "curl" (in directory "D:\Users\Acer\workspace\p2composite.example.site"): CreateProcess error=2, The system cannot find the file specified

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

Solutions on the web

via eclipse.org by Unknown author, 1 year ago
Cannot run program "curl" (in directory "D:\Users\Acer\workspace\p2composite.example.site"): CreateProcess error=2, The system cannot find the file specified
via GitHub by kaybinwong
, 1 year ago
Cannot run program "node": error=2, No such file or directory
via izpack.org by Unknown author, 1 year ago
Cannot locate antRun script: Property 'ant.home' not found
via Apache's JIRA Issue Tracker by Marc De Boeck, 1 year ago
The filename, directory name, or volume label syntax is incorrect
via Google Groups by Leon Zhu, 10 months ago
Cannot run program "ln" (in directory "/home/leon/eclipse"): error=40, 符号连接的层数过多
via Google Groups by sensex, 1 year ago
Cannot run program "C:\Program Files\Java\jdk1.6.0\jre\bin\java.exe": CreateProcess error=87, The parameter is incorrect
java.io.IOException: Cannot run program "curl" (in directory "D:\Users\Acer\workspace\p2composite.example.site"): CreateProcess error=2, The system cannot find the file specified
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:327)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

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