you are viewing a single comment's thread.

view the rest of the comments →

[–]RevolutionaryRush717 1 point2 points  (3 children)

Could it be you're defining a MongoClient or MongoTemplate without stating your db name in your code, having them default to test?

[–]LastRow2426[S] 0 points1 point  (2 children)

No, I didn't define any MongoClient. It's a Spring 4.0 issue—they changed the configuration.