msalvador
5 years agoFrequent Contributor
TypeError: Cannot read property 'MongoClients' of undefined
Hi everybody,
I'm trying to run my tests with testexecute, but when I run tests I got an error: 'TypeError: Cannot read property 'MongoClients' of undefined'.
I imported java mongo classes in my current project.
This is the line where i call object Mongoclients.
var mongoClient = JavaClasses.com_mongodb_client.MongoClients.create_4(DBConnectionStrAzure);
Why in my project work and in another pc with testexecute not?
Thanks
Solved,
in TExecute->options->java bridge jre was blanck, I added jvm path