SP-6992:Preventoccasionalexceptionbeingthrownwhenresolvingdependenciesonstartup.