ClassCastException: DispatcherServlet cannot be cast to Servlet

后端 未结 4 958
囚心锁ツ
囚心锁ツ 2020-12-31 10:13

I have created a new Spring MVC project using maven-eclipse and the following error is thrown:

(I tried some solutions from the stackoverflow which is not working i

4条回答
  •  情深已故
    2020-12-31 11:15

    Which application server you are using? I think Servlet jars files should be provide by your application srver.

提交回复
热议问题