Well,I think the problem is with attaching agents to the oauth-service
when running spring boot application. If you already have agents running on the same port then it might take a time to wait until the agent free the required port. You should take a time to configure your spring boot application for running agents on different ports.