Five Stars

The type com.mongodb.client.MongoDriverInformation issue while connecting MONGO DB

I just connect Mondgo db connection and run the job getting the below error, Please help me out to the solve the issue.

 

 

 

The type com.mongodb.client.MongoDriverInformation cannot be resolved. It is indirectly referenced from required .class files
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.
at org.talend.designer.runprocess.JobErrorsChecker.checkLastGenerationHasCompilationError(JobErrorsChecker.java:328)
at org.talend.designer.runprocess.DefaultRunProcessService.checkLastGenerationHasCompilationError(DefaultRunProcessService.java:424)
at org.talend.designer.runprocess.RunProcessService.checkLastGenerationHasCompilationError(RunProcessService.java:309)
at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:662)

1 ACCEPTED SOLUTION

Accepted Solutions
Twelve Stars

Re: The type com.mongodb.client.MongoDriverInformation issue while connecting MONGO DB

Mongo Jars are missig,so please check respective Jars are installed.

Manohar B
5 REPLIES
Twelve Stars

Re: The type com.mongodb.client.MongoDriverInformation issue while connecting MONGO DB

Mongo Jars are missig,so please check respective Jars are installed.

Manohar B
Five Stars

Re: The type com.mongodb.client.MongoDriverInformation issue while connecting MONGO DB

Hi -

 

I am also getting the same error "The type com.mongodb.MongoDriverInformation cannot be resolved.". The mongo connectivity works fine for me that is I am able to connect successfully to mongodb using tMongoDBConnection component, however when I try to run the job where I try to view the Mongo data in a tLogRow I get this error.

 

Please let me know the additional jar files which I may have to install and what is the manual step to install external jar files. Thanks.

 

Regards,

Puneet

Moderator

Re: The type com.mongodb.client.MongoDriverInformation issue while connecting MONGO DB

Hello,

Are your studio able to automatically install the missing jars? The studio will prompt to install a particular missing mongodb jar file when you click on 'download  and install'.

Could you please have a look at this online document about:TalendHelpCenter:Installing external modules?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: The type com.mongodb.client.MongoDriverInformation issue while connecting MONGO DB

Hi -

 

I was able to fix this issue and provided my comments in another thread.

https://community.talend.com/t5/Design-and-Development/Error-The-type-com-mongodb-MongoDriverInforma...

 

Thanks!

Moderator

Re: The type com.mongodb.client.MongoDriverInformation issue while connecting MONGO DB

Hello,

Thanks for sharing it with us on forum.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.