fakemongo / fongo

faked out in-memory mongo for java
Apache License 2.0
523 stars 156 forks source link

Cluster is null - error message for initiating MongoRepository bean #306

Open RoyTal28 opened 7 years ago

RoyTal28 commented 7 years ago

Hey,

I implemented the Fongo In a Spring Project. And I am facing the error : "cluster can not be null" when Spring try to initial the Mongo repository: " Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: cluster can not be null "

I used:

com.github.fakemongo fongo 2.1.0 test

And the implementation is :

image

Thank u for the help

sylvain-rouquette commented 6 years ago

This problem is still occuring.