- If we have mongodb in dependencies, spring tries to connect to server. - If we comment the mongo dep - the code dosen't compile. Can we do it via spring profiles?
Can we do it via spring profiles?