caused By:java.lang.ClassNotFoundException:org.objectweb.asm.ClassVisitor

Source: Internet
Author: User

1. Description of the error

March 15, 2015 6:50:23 pm org.apache.catalina.core.StandardContext filterstart severity: Exception starting Filter Struts2java.lang.noclassdeffounderror:org/objectweb/asm/classvisitorat Org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions (Packagebasedactionconfigbuilder.java : 390) at Org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs ( packagebasedactionconfigbuilder.java:347) at Org.apache.struts2.convention.ClasspathPackageProvider.loadPackages (classpathpackageprovider.java:53) at Com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer ( defaultconfiguration.java:274) at Com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration ( configurationmanager.java:67) at Org.apache.struts2.dispatcher.Dispatcher.getContainer (dispatcher.java:967) at Org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (dispatcher.java:435) at Org.apache.struts2.dispatcher.Dispatcher.init (dispatcher.java:479) at org.apache.struts2.dispatcher.ng.Initoperations.initdispatcher (initoperations.java:74) at Org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.init (strutspreparefilter.java:56) at Org.apache.catalina.core.ApplicationFilterConfig.initFilter (applicationfilterconfig.java:279) at Org.apache.catalina.core.ApplicationFilterConfig.getFilter (applicationfilterconfig.java:260) at Org.apache.catalina.core.applicationfilterconfig.<init> (applicationfilterconfig.java:105) at Org.apache.catalina.core.StandardContext.filterStart (standardcontext.java:4830) at Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5510) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150) at Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:901) at Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:877) at Org.apache.catalina.core.StandardHost.addChild (standardhost.java:649) at Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1245) at Org.apache.cataLina.startup.hostconfig$deploydirectory.run (hostconfig.java:1895) at java.util.concurrent.executors$ Runnableadapter.call (executors.java:471) at Java.util.concurrent.FutureTask.run (futuretask.java:262) at Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1145) at Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:615) at Java.lang.Thread.run ( thread.java:745) caused By:java.lang.ClassNotFoundException:org.objectweb.asm.ClassVisitorat Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1720) at Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1571) ... + More March 15, 2015 6:50:23 pm org.apache.catalina.core.StandardContext startinternal severity: Error filterstart March 15, 2015 6:50:  23 pm Org.apache.catalina.core.StandardContext startinternal Serious: Context [/ssh] startup failed due to previous errors March 15, 2015 6:50:23 pm Org.apache.catalina.loader.WebappClassLoader checkthreadlocalmapforleaks severity: the Web APplication [/ssh] created a ThreadLocal with key of type [com.sun.faces.util.util$1] (value [[email protected]]) and a Value of type [JAVA.UTIL.HASHMAP] (value [{com.sun.faces.patterncache={=}}]) but failed to remove it when the Web appli Cation was stopped. Threads is going to being renewed over time to try and avoid a probable memory leak. 15, 2015 6:50:23 pm Org.apache.catali Na.startup.HostConfig deploydirectory

2. Cause of error

Missing "Asm-5.0.2.jar"


3, the solution of the method

Import "Asm-5.0.2.jar" into the Lib directory

caused By:java.lang.ClassNotFoundException:org.objectweb.asm.ClassVisitor

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.