Validate.notNull(contextPath, "contextPath cannot be null.");
/* Creates the default resolver. */
if (contextResolver == null) {
contextResolver = new ContextFileResolver();
setResolver(DEFAULT_PROTOCOL, contextResolver);
}
contextResolver.setContextPath(contextPath, excludes);