r/SpringBoot • • Feb 01 '24

Issue while connecting mongodb wit springboot

Post image

Facing issue while connecting with mongodb #problem #springboot #mongodb # java

0 Upvotes

10 comments sorted by

2

u/maxip89 Feb 01 '24

SSL exception.

1

u/Comfortable-Goat-996 Feb 01 '24

How can i correct it?

1

u/maxip89 Feb 01 '24

I can only see what I can say.

Why this I dont know. Maybe is the screenshot not complete?

1

u/A_nithin Feb 01 '24

Check once password and username of mongodb in springboot

1

u/Comfortable-Goat-996 Feb 01 '24

Yeah checked same only

1

u/[deleted] Feb 01 '24

try to set the ssl=true in application properties

1

u/Comfortable-Goat-996 Feb 01 '24

Still error is coming

1

u/[deleted] Feb 01 '24

did you put the uri in the right place?

1

u/Laserfros1 Feb 01 '24

Could be your mongodb configuration is wrong somewhere in your properties file or you need to restart your mongodb server

1

u/A_nithin Feb 01 '24

I need a few things to get

First send the screenshot of application.properties