jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

后端 未结 12 656
有刺的猬
有刺的猬 2020-11-27 03:58

I am running a Maven project which is also a dynamic web project. I have used all Spring libraries in Maven. I created web.xml, but when I start my Tomcat 7 ser

12条回答
  •  萌比男神i
    2020-11-27 04:49

    I've been struggling with this issue and I've tried numerous "solutions".

    However, in the end, the only one that worked and it actually took a few seconds to do it was to: delete and add back new server instance!

    Basically, I right clicked on my Tomcat server in Eclipse under Servers and deleted it. Next, I've added a new Tomcat server. Cleaned and redeployed the application and I got rid of this error.

提交回复
热议问题