java.io.IOException: java.lang.ClassCastException: Cannot cast org.springframework.web.SpringServletContainerInitializer to javax.servlet.ServletContainerInitializer

GitHub | wangjn1130 | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    tomcat上部署dubbox消费者jar包冲突问题

    GitHub | 4 months ago | wangjn1130
    java.io.IOException: java.lang.ClassCastException: Cannot cast org.springframework.web.SpringServletContainerInitializer to javax.servlet.ServletContainerInitializer
  2. 0

    java.lang.ClassCastException: Cannot cast com.sun.faces.config.FacesInitializer to javax.servlet.ServletContainerInitializer

    Stack Overflow | 3 years ago | MrPlow
    java.io.IOException: java.lang.ClassCastException: Cannot cast com.sun.faces.config.FacesInitializer to javax.servlet.ServletContainerInitializer
  3. 0

    Tomcat 7 struts2 org.apache.catalina.LifecycleException: Failed to start component

    itquestionz.com | 2 years ago
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat 7 struts2 org.apache.catalina.LifecycleException: Failed to start component

    programwith.com | 2 years ago
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
  6. 0

    Tomcat 7 struts2 org.apache.catalina.LifecycleException: Failed to start component

    coderclubs.com | 2 years ago
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

  1. tvrmsmith 1 times, last 2 months ago
  2. filpgame 2 times, last 3 months ago
  3. rp 1 times, last 5 months ago
  4. kid 11 times, last 6 months ago
  5. iridic 3 times, last 6 months ago
2 more registered users
18 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassCastException

    Cannot cast org.springframework.web.SpringServletContainerInitializer to javax.servlet.ServletContainerInitializer

    at java.lang.Class.cast()
  2. Java RT
    Class.cast
    1. java.lang.Class.cast(Class.java:3176)
    1 frame
  3. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.startup.WebappServiceLoader.loadServices(WebappServiceLoader.java:197)
    2. org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:157)
    3. org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1575)
    4. org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1281)
    5. org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
    6. org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
    7. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    8. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    9. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5479)
    10. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    11. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
    12. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
    12 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames