java springboot+mongoDb difference between application.properties and .yaml
I'm trying to learn mongodb + springboot and I met issue like this: When I'm using application.properties file to config the connection, then everything seems to be fine. config below: spring.data.mongodb.username= root spring.data.mongodb.password= example spring.data.mongodb.database= database spring.data.mongodb.port= 27017 spring.data.mongodb.host= localhost…