@ -19,13 +23,21 @@ public abstract class AbstractConfigurationClassProcessor {
@@ -19,13 +23,21 @@ public abstract class AbstractConfigurationClassProcessor {
if(configBeanDefs.getBeanDefinitionCount()==0)
returnconfigBeanDefs;// nothing to do - don't waste any more cycles
// TODO: the location of this cglib check is temporary, pending removal of the
// @FactoryMethod meta-annotation indirection
if(Package.getPackage(CGLIB_PACKAGE)==null)
thrownewRuntimeException("CGLIB is required to process @Configuration classes. "+
"Either add CGLIB v2.2.3 to the classpath or remove the following "+