hello every body ,
Im getting this exception once I run a sevlet application , I use tomcat
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/SmsTest]]
at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployWAR(H ostConfig.java:962)
at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:536)
at org.apache.catalina.startup.HostConfig.check(HostC onfig.java:1471)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tomcat.util.modeler.BaseModelMBean.invo ke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerIntercep tor.invoke(Unknown Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unkn own Source)
at org.apache.catalina.manager.ManagerServlet.check(M anagerServlet.java:1436)
at org.apache.catalina.manager.HTMLManagerServlet.upl oad(HTMLManagerServlet.java:334)
at org.apache.catalina.manager.HTMLManagerServlet.doP ost(HTMLManagerServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210)
at org.apache.catalina.filters.CsrfPreventionFilter.d oFilter(CsrfPreventionFilter.java:186)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210)
at org.apache.catalina.filters.SetCharacterEncodingFi lter.doFilter(SetCharacterEncodingFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:581)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.p rocess(AbstractHttp11Processor.java:999)
at org.apache.coyote.AbstractProtocol$AbstractConnect ionHandler.process(AbstractProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$SocketProce ssor.run(AprEndpoint.java:1812)
at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/twilio/sdk/TwilioRestException
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.lang.Class.getDeclaredFields(Unknown Source)
at org.apache.catalina.startup.WebAnnotationSet.getDe claredFields(WebAnnotationSet.java:452)
at org.apache.catalina.startup.WebAnnotationSet.loadF ieldsAnnotation(WebAnnotationSet.java:257)
at org.apache.catalina.startup.WebAnnotationSet.loadA pplicationServletAnnotations(WebAnnotationSet.java :136)
at org.apache.catalina.startup.WebAnnotationSet.loadA pplicationAnnotations(WebAnnotationSet.java:66)
at org.apache.catalina.startup.ContextConfig.applicat ionAnnotationsConfig(ContextConfig.java:381)
at org.apache.catalina.startup.ContextConfig.configur eStart(ContextConfig.java:858)
at org.apache.catalina.startup.ContextConfig.lifecycl eEvent(ContextConfig.java:345)
at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecyc leEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInte rnal(StandardContext.java:5161)
at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
... 40 more
Caused by: java.lang.ClassNotFoundException: com.twilio.sdk.TwilioRestException
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1711)
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1556)
... 54 more
Thank you!