例外是不言自明的
作者:java.lang.IllegalArgumentException:名为[com.staff.servlet.AllocationServlet]和[com.staff.servlet.SearchConditionServlet]的servlet都映射到url模式[/
AllocationServlet],这是不允许的
看来您的两个servlet分别是
- 分配Servlet
- SearchConditionServlet
两者都映射到相同的url-pattern
AllocationServlet
您需要修复servlet的web.xml或注解(在Servlet3.0的情况下),并确保没有两个servlet映射到相同的url模式。


![IllegalArgumentException:名为[com.staff.servlet.AllocationServlet]和[com.staff.servlet.SearchConditionS IllegalArgumentException:名为[com.staff.servlet.AllocationServlet]和[com.staff.servlet.SearchConditionS](http://www.mshxw.com/aiimages/31/409192.png)
