I am getting below error while starting the Tomcat7 server.
org.springframework.web.SpringServletContainerInitializer cannot be cast to javax.servlet.ServletContainerInitializer
I am just curious to find the root cause of this issue. In what scenario this error happens? I didn't get the error when I use Tomcat Enterprise Edition(TomEE)
In my project ServletContainerInitializer is getting loaded from javeee-api-7.0.jar
I have tried excluding the javax.servlet-api which is getting loaded from javeee-api but thats not working