I am trying to run a project on intellij idea but it is showing the following error.
Error creating bean with name 'mongoConfiguration': Unsatisfied dependency expressed through field 'mongoDbFactory': Error creating bean with name 'mongoDbFactory' defined in class path resource [com/mongoencryptionutil/config/CustomMongoClientConfiguration.class]: Failed to instantiate [org.springframework.data.mongodb.MongoDatabaseFactory]: Factory method 'mongoDbFactory' threw exception with message: Exception starting mongocryptd process. Is `mongocryptd` on the system path?
I have added /usr/local/bin/bin in path variables of the project and it has mongocryptd.. Still it is showing this error.