424284 Identify conflicts in logging when error "Multiple servlets map to {pathspec}" occurs
This commit is contained in:
parent
e99ad50a90
commit
9e2d0a33d6
|
@ -1432,7 +1432,7 @@ public class ServletHandler extends ScopedHandler
|
|||
{
|
||||
//existing candidate isn't a default, if the one we're looking at isn't a default either, then its an error
|
||||
if (!mapping.isDefault())
|
||||
throw new IllegalStateException("Multiple servlets map to path: "+pathSpec);
|
||||
throw new IllegalStateException("Multiple servlets map to path: "+pathSpec+": "+finalMapping.getServletName()+","+mapping.getServletName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue