java.lang.IllegalArgumentException异常

  • Post author:
  • Post category:java



java.lang.IllegalArgumentException: The servlets named [这里是servlet路径] and [这里是servlet路径] are both mapped to the url-pattern [/emp/empServlet] which is not permitted

解决方法:

检查是否有相同的servlet的映射路径!有相同的就会报出这个异常



版权声明:本文为Song_JiangTao原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。