Jdk8+spring 3.x report illegal parameter anomaly IllegalArgumentException

Source: Internet
Author: User

2015-06-04 01:21:35,306 INFO defaultlistablebeanfactory:577-pre-instantiating singletons in org.s[email  protected]64616ca2:defining beans [User,userdao]; Root of Factory hierarchy2015-06-04 01:21:35,308 DEBUG defaultlistablebeanfactory:215-creating gkfx instance of single  ton Bean ' user ' 2015-06-04 01:21:35,308 DEBUG defaultlistablebeanfactory:435-creating instance of Bean ' user ' Exception 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:112) at Org.springframework.core.LocalVariableTableParameterNameDiscoverer.getParameterNames ( LOCALVARIABLETABLEPARAMETERNAMEDISCOVERER.JAVA:86) 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:295) at Org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton ( defaultsingletonbeanregistry.java:223) at Org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (abstractbeanfactory.java:292) at Org.springframework.beans.factory.support.AbstractBeanFactoRy.getbean (abstractbeanfactory.java:194) 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 Cn.wxy.test.Test.main (test.java:10)


Exception reason: JDK 8 and Spring 3.x do not match, switch to spring 4.x.

Spring website with the new, recommended Maven and gradle two ways to download, direct download Spring Framework jar package is more difficult, the following link is the Spring SVN address.

Click I download (http://repo.springsource.org/libs-release-local/org/springframework/spring/)


Version Conflict bug:spring Framwork 3.x and JDK 8 conflicts

Jdk8+spring 3.x report illegal parameter anomaly IllegalArgumentException

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.