Getting Spring Error "Bean named 'x' must be of type [y], but was actually of type [$Proxy]" in Jenkins Getting Spring Error "Bean named 'x' must be of type [y], but was actually of type [$Proxy]" in Jenkins spring spring