创建MyServlet后,在web.xml中对Servlet进行配置后启动tomcat时,tomcat启动报错。
创建MyServlet后,在web.xml中对Servlet进行配置后启动tomcat时,tomcat启动报错。报错内容如下:Caused by: java.lang.IllegalArgumentException: The servlets named [MyServlet] and [cn.itcast.chapter08.MyServlet] are both mapped to the url-pattern [/MyServlet] which is not permittedat org
原创
2021-03-21 18:59:11 ·
396 阅读 ·
0 评论