Workaround: Replace the Spring-cglib-repack-*.*.jar bag
Java.lang.ExceptionInInitializerError at Org.springframework.aop.framework.CglibAopProxy.createEnhancer ( Cglibaopproxy.java:235) at Org.springframework.aop.framework.CglibAopProxy.getProxy (Cglibaopproxy.java:177) at Org.springframework.aop.framework.ProxyFactory.getProxy (Proxyfactory.java: the) at Org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy ( Abstractautoproxycreator.java:497) at Org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary ( Abstractautoproxycreator.java:382) at Org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization ( Abstractautoproxycreator.java:338) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization (Abstractautowirecapablebeanfactory.java:423) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean ( Abstractautowirecapablebeanfactory.java:1696) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean ( Abstractautowirecapablebeanfactory.java:560) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean ( Abstractautowirecapablebeanfactory.java:482) at org.springframework.beans.factory.support.abstractbeanfactory$1. GetObject (Abstractbeanfactory.java:306) at Org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton ( Defaultsingletonbeanregistry.java:245) at Org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (Abstractbeanfactory.java:302) at Org.springframework.beans.factory.support.AbstractBeanFactory.getBean (Abstractbeanfactory.java:193) at Org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ( Defaultlistablebeanfactory.java:743) at Org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization ( Abstractapplicationcontext.java:767) at Org.springframework.context.support.AbstractApplicationContext.refresh (Abstractapplicationcontext.java: 489) at Org.springframework.context.support.ClassPathXmlApplicationContext.<init> (Classpathxmlapplicationcontext.java:139) at Org.springframework.context.support.ClassPathXmlApplicationContext.<init> (Classpathxmlapplicationcontext.java: the) at Inspect.into.spring.ann.b37.Lesson_b37.main (Lesson_b37.java: +) caused by:java.lang.IllegalArgumentException at org.springframework.asm.MethodVisitor.<init> (Methodvisitor.java: the) at Org.springframework.cglib.core.LocalVariablesSorter.<init> (Localvariablessorter.java: the) at Org.springframework.cglib.core.CodeEmitter.<init> (Codeemitter.java:106) at Org.springframework.cglib.core.ClassEmitter.begin_method (Classemitter.java:176) at Org.springframework.cglib.core.EmitUtils.null_constructor (Emitutils.java: the) at Org.springframework.cglib.core.keyfactory$generator.generateclass (Keyfactory.java:183) at Org.springframework.cglib.core.DefaultGeneratorStrategy.generate (Defaultgeneratorstrategy.java: -) at Org.springframework.cglib.core.AbstractClassGenerator.create (Abstractclassgenerator.java:231) at Org.springframework.cglib.core.keyfactory$generator.create (Keyfactory.java:149) at Org.springframework.cglib.core.KeyFactory.create (Keyfactory.java:117) at Org.springframework.cglib.core.KeyFactory.create (Keyfactory.java:109) at Org.springframework.cglib.core.KeyFactory.create (Keyfactory.java: the) at Org.springframework.cglib.proxy.Enhancer.<clinit> (Enhancer.java: in) ... -More
Spring cglib initializing exceptionininitializererror,new enhancer () exception