The exception is self-explanatory
by: java.lang.IllegalArgumentException: The servlets named [com.staff.servlet.AllocationServlet] and [com.staff.servlet.SearchConditionServlet] are both mapped to the url-pattern [/AllocationServlet] which is not permitted
It seems that two of your servlets namely
- AllocationServlet
- SearchConditionServlet
both are mapped to the same url-pattern AllocationServlet
You need to fix your web.xml or annotations ( in case of Servlet3.0) of the servlets and make sure no two servlets are mapped to the same url-pattern.