nested exception is java.io.IOException: Could not start process: <EOF>
See original GitHub issueHello,
I’ve seen other issues with the same exception but thought this one is worth bringing to your attention as it looks like the cause is very different, and a lot simpler to resolve.
I am using spring-boot-dependencies:2.1.4.RELEASE
When these two properties are set:
spring.data.mongodb.host= spring.data.mongodb.port=
The following exception is thrown:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'embeddedMongoServer' defined in class path resource [org/springframework/boot/autoconfigure/mongo/embedded/EmbeddedMongoAutoConfiguration.class]: Invocation of init method failed; nested exception is java.io.IOException: Could not start process: <EOF>
Regards, Warren
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top Results From Across the Web
flapdoodle can't start mongo ( Could not start process: <EOF>)
Caused by : java.io.IOException: Could not start process: at de.flapdoodle.embed.mongo.AbstractMongoProcess.
Read more >Why does my flapdoodle Embedded MongoDB test fail to run ...
Why does my flapdoodle Embedded MongoDB test fail to run? (creating 'embeddedMongoServer' could not start process EOF) ; in ; is java.io.
Read more >java.io.IOException: Could not start process: <EOF>
BeanCreationException: Error creating bean with name 'mongoAppConfiig': Invocation of init method failed; nested exception is java.io.
Read more >Meme Overflow on Twitter: "Why does my flapdoodle ...
Why does my flapdoodle Embedded MongoDB test fail to run? (creating 'embeddedMongoServer' could not start process EOF) ...
Read more >Organization Flapdoodle OSS | Embedmongo.flapdoodle.de
Starting with version 2 we are going to support only java 8 or higher. If you are looking for the older version you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@majitospost Make sure in your application.properties to not have spring.data.mongodb.host= spring.data.mongodb.port=
set. I had this issue, but I fixed it by commenting these two out.
thanks for your solution, it does work. But what should be the most proper solution? The situation is that I want to use the embedded mongo while testing, but to use the local mogo server while running the application.
The gradle build complains when I leave the spring.data.mongodb.host in the application.yml