<!-- Dear contributors, Please consider providing an executable test case or an example project. As Spring has many ways to setup, it is really difficult for us to reproduce the problem just from some snippets. Thank you very much for your contribution! --> I think following dependencies is unnecessary. * oro:oro for test scope on mac-jvm-classloader-issue profile * ognl:ognl for test scope * cglib:cglib for test scope Even if we remove these dependencies, the build will succeed.