In my case I had a dependency with with a lower version than my main service.
Main:
pom.xml (Using Spring-Core 6.1.xxx)
Dependency:
pom.xml (Using Spring-Core 5.2.xxx)
You need to check all your private libraries to ensure everyone is on the same version.