java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ProjetoBonato]]

com.br | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Server Tomcat v7.0 Server at localhost failed to start - Javafree: O fórum de Java que mais cresce

    com.br | 5 months ago
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ProjetoBonato]]

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      The servlets named [Servlet.ServletDevolucao] and [Servlet.ServletLocacao] are both mapped to the url-pattern [/ServletLocacao] which is not permitted

      at org.apache.catalina.deploy.WebXml.addServletMapping()
    2. Glassfish Core
      LifecycleBase.fireLifecycleEvent
      1. org.apache.catalina.deploy.WebXml.addServletMapping(WebXml.java:293)
      2. org.apache.catalina.startup.ContextConfig.processAnnotationWebServlet(ContextConfig.java:2396)
      3. org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2072)
      4. org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2033)
      5. org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2026)
      6. org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1291)
      7. org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:876)
      8. org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:374)
      9. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      10. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      10 frames