Information: pre-instantiating singletons in org.s[email protected]366e2eef:defining beans [duke,way,aoptest]; Root of factory hierarchyexception in thread "main" Java.lang.IllegalArgumentExceptionat Org.springframework.asm.classreader.<init> (Unknown Source) at Org.springframework.asm.classreader.<init > (Unknown Source) at org.springframework.asm.classreader.<init> (Unknown source) at Org.springframework.core.LocalVariableTableParameterNameDiscoverer.inspectClass ( localvariabletableparameternamediscoverer.java:113) at Org.springframework.core.LocalVariableTableParameterNameDiscoverer.getParameterNames ( localvariabletableparameternamediscoverer.java:87) at Org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor (constructorresolver.java:193 ) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor ( abstractautowirecapablebeanfactory.java:1049) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFaCtory.createbeaninstance (abstractautowirecapablebeanfactory.java:953) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean ( abstractautowirecapablebeanfactory.java:490) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean ( abstractautowirecapablebeanfactory.java:461) at org.springframework.beans.factory.support.abstractbeanfactory$1. GetObject (abstractbeanfactory.java:293) at Org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton ( defaultsingletonbeanregistry.java:223) at Org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (abstractbeanfactory.java:290) at Org.springframework.beans.factory.support.AbstractBeanFactory.getBean (abstractbeanfactory.java:192) at Org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ( defaultlistablebeanfactory.java:607) at Org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitiaLization (abstractapplicationcontext.java:932) at Org.springframework.context.support.AbstractApplicationContext.refresh (abstractapplicationcontext.java:479) at Org.springframework.context.support.classpathxmlapplicationcontext.<init> ( classpathxmlapplicationcontext.java:139) at Org.springframework.context.support.ClassPathXmlApplicationContext. <init> (classpathxmlapplicationcontext.java:83) at Com.test.Test.main (test.java:13)
Error reason: The version problem with spring is 3.6,JRE is 1.8, the spring to 4.2 is no problem.
Spring configuration Constructor-arg The error, the property is passed