码迷,mamicode.com
首页 > 编程语言 > 详细

Caused by: java.lang.ClassCastException: org.springframework.web.SpringServletContainerInitializer cannot be cast to javax.servlet.ServletContainerInitializer

时间:2018-11-11 23:17:46      阅读:530      评论:0      收藏:0      [点我收藏+]

标签:cas   etc   initial   work   version   cannot   color   java   scope   

pom

<dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.0.1</version>
            <scope>provided</scope>
        </dependency>

 

Caused by: java.lang.ClassCastException: org.springframework.web.SpringServletContainerInitializer cannot be cast to javax.servlet.ServletContainerInitializer

标签:cas   etc   initial   work   version   cannot   color   java   scope   

原文地址:https://www.cnblogs.com/duanwandao/p/9943401.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!