The servlets named [A] and [B] are both mapped to the url-pattern [servlet]which is not permitted

    xiaoxiao2022-07-14  129

    错误: 原因: 定义Servlet时注解@WebServlet(“loginaction”)已经默认了Servlet路径,在web.xml中继续配置会冲突。 解决方法:注释一个即可

    最新回复(0)