Initialization of Bean failed; Nested exception is java.lang.nosuchmethoderror:org.objectweb.asm.classwriter.<init> (Z) V

Source: Internet
Author: User
Tags addchild

The following exception occurred while launching the Web app:

Initialization of Bean failed; Nested exception is java.lang.nosuchmethoderror:org.objectweb.asm.classwriter.<init> (Z) Vat Org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues ( autowiredannotationbeanpostprocessor.java:285) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean ( abstractautowirecapablebeanfactory.java:1074) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean ( abstractautowirecapablebeanfactory.java:517) at Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean ( abstractautowirecapablebeanfactory.java:456) at org.springframework.beans.factory.support.abstractbeanfactory$1. GetObject (abstractbeanfactory.java:291) at Org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton ( defaultsingletonbeanregistry.java:222) at Org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (Abstractbeanfactory.java:288) at Org.springframework.beans.factory.support.AbstractBeanFactory.getBean ( abstractbeanfactory.java:190) at Org.springframework.context.support.AbstractApplicationContext.getBean ( abstractapplicationcontext.java:1075) at Org.directwebremoting.spring.SpringCreator.getInstance ( springcreator.java:144) at Org.directwebremoting.spring.SpringCreator.getType (springcreator.java:106) at Org.directwebremoting.impl.DefaultCreatorManager.addCreator (defaultcreatormanager.java:118) at Org.directwebremoting.impl.DefaultCreatorManager.addCreator (defaultcreatormanager.java:100) at Org.directwebremoting.impl.DwrXmlConfigurator.loadCreate (dwrxmlconfigurator.java:274) at Org.directwebremoting.impl.DwrXmlConfigurator.loadAllows (dwrxmlconfigurator.java:224) at Org.directwebremoting.impl.DwrXmlConfigurator.configure (dwrxmlconfigurator.java:170) at ORG.DIRECTWEBREMOTING.IMPL.CONTAINERUTIL.CONFIGUREFROMDEFAULTDWRXML (containerutil.java:262) at Org.directwebremoting.impl.ContainerUtil.configureConTainerfully (containerutil.java:419) at Org.directwebremoting.servlet.DwrServlet.init (dwrservlet.java:79) at Org.apache.catalina.core.StandardWrapper.initServlet (standardwrapper.java:1238) at Org.apache.catalina.core.StandardWrapper.loadServlet (standardwrapper.java:1151) at Org.apache.catalina.core.StandardWrapper.load (standardwrapper.java:1038) at Org.apache.catalina.core.StandardContext.loadOnStartup (standardcontext.java:4998) at Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5306) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:147) at Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:725) at Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:701) at Org.apache.catalina.core.StandardHost.addChild (standardhost.java:717) at Org.apache.catalina.startup.HostConfig.deployWAR (hostconfig.java:940) at org.apache.catalina.startup.hostconfig$ Deploywar.run (hostconfig.java:1816) at java.util.concurrent.executors$runnableAdapter.call (executors.java:511) at Java.util.concurrent.FutureTask.run (futuretask.java:266) at Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1142) at Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:617) at Java.lang.Thread.run ( thread.java:745)

After searching, use the method here to solve: http://blog.sina.com.cn/s/blog_63d48d510100t77r.html

Change the Cglib version from 2.1 to 2.2.

Initialization of Bean failed; Nested exception is java.lang.nosuchmethoderror:org.objectweb.asm.classwriter.<init> (Z) V

Related Article

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.