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

后端 未结 12 641
有刺的猬
有刺的猬 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条回答
  •  独厮守ぢ
    2020-11-27 04:26

    when your URL pattern is wrong, this error may be occurred.

    eg. If you wrote @WebServlet("login"), this error will be shown. The correct one is @WebServlet("/login").

提交回复
热议问题