Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows got errors #16

Closed
xtuyaowu opened this issue Dec 29, 2017 · 1 comment
Closed

windows got errors #16

xtuyaowu opened this issue Dec 29, 2017 · 1 comment

Comments

@xtuyaowu
Copy link

hi got such errors ,need help thanks!
java.io.IOException: Cannot run program "D:\Program" (in directory "."): CreateProcess error=2, system can not find the file
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:61)
at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:279)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:336)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)

@bbonnin
Copy link
Owner

bbonnin commented Jan 2, 2018

Hello,
It looks like you have white spaces in a path (mongo path ?).
As a quick fix, you should move (or copy) your mongodb installation to a path without spaces in the name.

@xtuyaowu xtuyaowu closed this as completed Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants