Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Tomcat 7.0.27

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Tomcat 7.0.27

    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!


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Tomcat 7.0.27

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    Thread moved.

Similar Threads

  1. Tomcat
    By chin launch in forum Java Theory & Questions
    Replies: 2
    Last Post: May 25th, 2014, 04:18 AM
  2. Tomcat
    By chin launch in forum What's Wrong With My Code?
    Replies: 0
    Last Post: April 27th, 2014, 06:45 AM
  3. Replies: 0
    Last Post: January 28th, 2013, 05:29 AM
  4. !! Tomcat doubt !!
    By mailbox4anilkumar in forum Java Servlet
    Replies: 2
    Last Post: April 20th, 2011, 01:15 PM
  5. TOMCAT CONFIGURE
    By jugalrockz in forum Java Servlet
    Replies: 1
    Last Post: January 5th, 2011, 07:09 PM